From 53e49cc04025e1fc9cb1a98c5ae620f44124958f Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Wed, 29 Jan 2014 22:25:30 +0100 Subject: [PATCH] Make GPG ignore local settings --- weboob/applications/weboobrepos/weboobrepos.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/weboob/applications/weboobrepos/weboobrepos.py b/weboob/applications/weboobrepos/weboobrepos.py index 128a070c..473e0f98 100644 --- a/weboob/applications/weboobrepos/weboobrepos.py +++ b/weboob/applications/weboobrepos/weboobrepos.py @@ -121,6 +121,7 @@ class WeboobRepos(ReplApplication): keypath = os.path.join(source_path, r.KEYDIR, keyfile) subprocess.check_call([ gpg, + '--no-options', '--quiet', '--no-default-keyring', '--keyring', os.path.realpath(krname), @@ -163,6 +164,7 @@ class WeboobRepos(ReplApplication): for gpgline in subprocess.Popen([ gpg, + '--no-options', '--with-fingerprint', '--with-colons', '--list-public-keys', '--no-default-keyring', @@ -174,6 +176,7 @@ class WeboobRepos(ReplApplication): for fingerprint in fingerprints: proc = subprocess.Popen([ gpg, + '--no-options', '--list-secret-keys', fingerprint], stdout=subprocess.PIPE, stderr=subprocess.PIPE) @@ -198,6 +201,7 @@ class WeboobRepos(ReplApplication): os.remove(sigpath) subprocess.check_call([ gpg, + '--no-options', '--quiet', '--local-user', secret_fingerprint, '--detach-sign',