fixing bug in gpg signing
This commit is contained in:
parent
6f3a0f6b86
commit
676265b2aa
@ -52,13 +52,13 @@ def genGPG(conf):
|
||||
s))
|
||||
if mykey:
|
||||
try:
|
||||
privkey = gpg.get_key(mykey, True)
|
||||
pkeys.append(gpg.get_key(mykey, True))
|
||||
except:
|
||||
exit('{0}: ERROR: You specified using {1} but we have no secret key for that ID!'.format(
|
||||
datetime.datetime.now(),
|
||||
mykey))
|
||||
else:
|
||||
for key in gpg.keylist(None,True):
|
||||
for key in gpg.keylist(None, True):
|
||||
if key.can_sign:
|
||||
pkeys.append(key)
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user