isislovecruft / python-gnupg

A modified version of python-gnupg, including security patches, extensive documentation, and extra features.
Other
424 stars 172 forks source link

Unknown status message: 'DECRYPTION_COMPLIANCE_MODE' '23' #250

Open phealy3330 opened 5 years ago

phealy3330 commented 5 years ago

Same thing going on with https://github.com/isislovecruft/python-gnupg/issues/207 Just on the decrypt side instead of the encrypt side I worked around with similar monkey patch from @Paradoxis

from pretty_bad_protocol import gnupg
import pretty_bad_protocol._parsers

#import gnupg._parsers
gnupg._parsers.Verify.TRUST_LEVELS["DECRYPTION_COMPLIANCE_MODE"] = 23

Probably just needs a fix like https://github.com/isislovecruft/python-gnupg/pull/220 working on a patch now

phealy3330 commented 5 years ago

Patch up https://github.com/phealy3330/python-gnupg/commit/52c25a2fa1ca184c765f65a7840ca6d213ddd9b5