- 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:
Michael Greene
2014-08-27 12:57:05 -07:00
parent 56cd9da5e6
commit 658450640f
7 changed files with 142 additions and 96 deletions

View File

@@ -7,7 +7,7 @@ class PGPError(Exception):
pass
class PGPKeyDecryptionError(Exception):
class PGPDecryptionError(Exception):
"""Raised when decryption fails"""
pass