diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2015-12-25 09:00:48 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2015-12-25 09:00:48 -0800 |
commit | 474c437ce28b9d882aa4813dab289704b77a3b46 (patch) | |
tree | 064d47e0d5dd4dfe8a71603a5ba46d8d2f000176 /gkeys/bin/gkeys-gpg | |
parent | gkeys/actionbase.py: Add an exception to the raise statements (diff) | |
download | gentoo-keys-474c437ce28b9d882aa4813dab289704b77a3b46.tar.gz gentoo-keys-474c437ce28b9d882aa4813dab289704b77a3b46.tar.bz2 gentoo-keys-474c437ce28b9d882aa4813dab289704b77a3b46.zip |
gkeys-gpg: Make singing and other than verify actions work
Diffstat (limited to 'gkeys/bin/gkeys-gpg')
-rwxr-xr-x | gkeys/bin/gkeys-gpg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gkeys/bin/gkeys-gpg b/gkeys/bin/gkeys-gpg index 3bed18f..f064b14 100755 --- a/gkeys/bin/gkeys-gpg +++ b/gkeys/bin/gkeys-gpg @@ -28,6 +28,14 @@ import os import sys +if '--verify' not in sys.argv: + # we are not verifying now, just call out to the normal + # gpg with args exactly as we were called with + sys.argv[0] = '/usr/bin/gpg' + os.execvp('/usr/bin/gpg', sys.argv) + sys.exit(1) + + # This block ensures that ^C interrupts are handled quietly. try: import signal |