Skip to content
Snippets Groups Projects
Commit 07edcb91 authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

tentative fix for configurations that have --with-fingerprint twice

thanks to vagrant for reporting this
parent a3029fb3
Branches
Tags
No related merge requests found
...@@ -657,6 +657,7 @@ class OpenPGPkey(): ...@@ -657,6 +657,7 @@ class OpenPGPkey():
if rectype == 'tru': if rectype == 'tru':
(rectype, trust, selflen, algo, keyid, creation, expiry, serial) = record (rectype, trust, selflen, algo, keyid, creation, expiry, serial) = record
elif rectype == 'fpr': elif rectype == 'fpr':
if not self.fpr:
self.fpr = record[9] self.fpr = record[9]
elif rectype == 'pub': elif rectype == 'pub':
(null, self.trust, self.length, self.algo, keyid, self.creation, self.expiry, serial, trust, uid, sigclass, purpose, smime) = record (null, self.trust, self.length, self.algo, keyid, self.creation, self.expiry, serial, trust, uid, sigclass, purpose, smime) = record
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment