- abstracted symmetric decryption so the actual cipher object construction and ciphertext decryption happens in one place to make the code easier to maintain
- moved asymmetric decryption into PKESessionKey as it makes more sense to have it in the one place where asymmetric decryption is even used
This commit is contained in:
@@ -7,7 +7,7 @@ class PGPError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class PGPKeyDecryptionError(Exception):
|
||||
class PGPDecryptionError(Exception):
|
||||
"""Raised when decryption fails"""
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user