##// END OF EJS Templates
gpg: treat "ERRSIG" as a valid key id but no fingerprint
Wei, Elson -
r19441:8b312c08 default
parent child Browse files
Show More
@@ -55,12 +55,13 b' class gpg(object):'
55 if not l.startswith("[GNUPG:]"):
55 if not l.startswith("[GNUPG:]"):
56 continue
56 continue
57 l = l[9:]
57 l = l[9:]
58 if l.startswith("ERRSIG"):
58 if l.startswith("VALIDSIG"):
59 err = _("error while verifying signature")
60 break
61 elif l.startswith("VALIDSIG"):
62 # fingerprint of the primary key
59 # fingerprint of the primary key
63 fingerprint = l.split()[10]
60 fingerprint = l.split()[10]
61 elif l.startswith("ERRSIG"):
62 key = l.split(" ", 3)[:2]
63 key.append("")
64 fingerprint = None
64 elif (l.startswith("GOODSIG") or
65 elif (l.startswith("GOODSIG") or
65 l.startswith("EXPSIG") or
66 l.startswith("EXPSIG") or
66 l.startswith("EXPKEYSIG") or
67 l.startswith("EXPKEYSIG") or
General Comments 0
You need to be logged in to leave comments. Login now