Explicitly list public keys if we didn't specify for secret ones.
parent
1be0114847
commit
26d8f98513
|
@ -676,7 +676,7 @@ class GPG(object):
|
|||
|
||||
"""
|
||||
|
||||
which='keys'
|
||||
which='public-keys'
|
||||
if secret:
|
||||
which='secret-keys'
|
||||
args = "--list-%s --fixed-list-mode --fingerprint --with-colons" % (which,)
|
||||
|
|
Loading…
Reference in New Issue