##// END OF EJS Templates
gpg: show "Unknown key ID xxxxxxxx" when the status is ERRSIG
Wei, Elson -
r19444:f9e04a4e default
parent child Browse files
Show More
@@ -122,6 +122,10 b' def getkeys(ui, repo, mygpg, sigdata, co'
122 validkeys = []
122 validkeys = []
123 # warn for expired key and/or sigs
123 # warn for expired key and/or sigs
124 for key in keys:
124 for key in keys:
125 if key[0] == "ERRSIG":
126 ui.write(_("%s Unknown key ID \"%s\"\n")
127 % (prefix, shortkey(ui, key[1][:15])))
128 continue
125 if key[0] == "BADSIG":
129 if key[0] == "BADSIG":
126 ui.write(_("%s Bad signature from \"%s\"\n") % (prefix, key[2]))
130 ui.write(_("%s Bad signature from \"%s\"\n") % (prefix, key[2]))
127 continue
131 continue
General Comments 0
You need to be logged in to leave comments. Login now