SecurityInnovation / PGPy

Pretty Good Privacy for Python
BSD 3-Clause "New" or "Revised" License
313 stars 98 forks source link

fix erroneous predicate in PGPKey.verify #420

Closed dkg closed 1 year ago

dkg commented 1 year ago

There is no object named "signerFp". From the variant code in pgpy/pgp1.py (see #419), it appears that signerFp is supposed to be str(sig.signer_fingerprint) so we just write that explicitly here.

dkg commented 1 year ago

Probably #417 is a better choice than this, i just stumbled into this before i realized that @KOLANICH had already proposed a distinct fix.

Commod0re commented 1 year ago

fixed in #423