From dcee59a19e51975644df21c9575e8befa689d112 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sun, 1 Jul 2018 11:32:02 +0300 Subject: [PATCH] Assume NeoPG binary runs GnuPG functionality --- libagent/gpg/keyring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libagent/gpg/keyring.py b/libagent/gpg/keyring.py index 72f358c..9be99bf 100644 --- a/libagent/gpg/keyring.py +++ b/libagent/gpg/keyring.py @@ -201,7 +201,7 @@ def get_gnupg_components(sp=subprocess): def get_gnupg_binary(sp=subprocess, neopg_binary=None): """Starting GnuPG 2.2.x, the default installation uses `gpg`.""" if neopg_binary: - return [neopg_binary, 'gpg2'] + return [neopg_binary] return [get_gnupg_components(sp=sp)['gpg']]