diff options
-rw-r--r-- | gemato/openpgp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gemato/openpgp.py b/gemato/openpgp.py index b22e494..0744399 100644 --- a/gemato/openpgp.py +++ b/gemato/openpgp.py @@ -242,7 +242,9 @@ disable-scdaemon keys were successfully found. Otherwise, returns false. """ # list all keys in the keyring - exitst, out, err = self._spawn_gpg(['--with-colons', '--list-keys'], '') + # (--fingerprint --fixed-list-mode are necessary for GnuPG-1.4) + exitst, out, err = self._spawn_gpg(['--with-colons', '--list-keys', + '--fingerprint', '--fixed-list-mode'], '') if exitst != 0: raise gemato.exceptions.OpenPGPKeyRefreshError(err.decode('utf8')) |