From f3d79b33a21c4683c39600b63b958c3b0e2c4e2d Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 16 May 2020 11:19:10 +0200 Subject: openpgp: Remove gpg-1.4 compatibility code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- gemato/openpgp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gemato/openpgp.py b/gemato/openpgp.py index c7a6a34..9cd86a6 100644 --- a/gemato/openpgp.py +++ b/gemato/openpgp.py @@ -253,9 +253,8 @@ debug-level guru keys were successfully found. Otherwise, returns false. """ # list all keys in the keyring - # (--fingerprint --fixed-list-mode are necessary for GnuPG-1.4) - exitst, out, err = self._spawn_gpg(['--with-colons', '--list-keys', - '--fingerprint', '--fixed-list-mode'], '') + exitst, out, err = self._spawn_gpg( + ['--with-colons', '--list-keys'], '') if exitst != 0: raise gemato.exceptions.OpenPGPKeyRefreshError(err.decode('utf8')) -- cgit v1.2.3