diff --git a/NEWS b/NEWS index 906ad608..72de5911 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,10 @@ Noteworthy changes in version 1.13.1 (unreleased) ------------------------------------------------- + * Python: Fix DecryptionError Exception. [#4478] + * Python: No longer raises BadSignatures from - decrypt(verify=True). [4276] + decrypt(verify=True). [#4276] * cpp: gpgme_set_global_flag is now wrapped. [#4471] diff --git a/lang/python/src/errors.py b/lang/python/src/errors.py index 9c7f0378..5a58dea8 100644 --- a/lang/python/src/errors.py +++ b/lang/python/src/errors.py @@ -163,13 +163,13 @@ class InvalidRecipients(EncryptionError): for r in self.recipients) -class DeryptionError(GpgError): +class DecryptionError(GpgError): pass -class UnsupportedAlgorithm(DeryptionError): +class UnsupportedAlgorithm(DecryptionError): def __init__(self, algorithm, **kwargs): - DeryptionError.__init__(self, **kwargs) + DecryptionError.__init__(self, **kwargs) self.algorithm = algorithm def __str__(self):