diff options
author | 2016-06-18 16:59:58 +0000 | |
---|---|---|
committer | 2018-07-06 22:22:08 -0700 | |
commit | 47e382281a6ad2a19080c78c163c8ef681f12b5b (patch) | |
tree | 01c93e65effd288aa4dd8d7645f11cdee642b153 | |
parent | Created the send-key function (diff) | |
download | gentoo-keys-47e382281a6ad2a19080c78c163c8ef681f12b5b.tar.gz gentoo-keys-47e382281a6ad2a19080c78c163c8ef681f12b5b.tar.bz2 gentoo-keys-47e382281a6ad2a19080c78c163c8ef681f12b5b.zip |
Fixed a bug in the verify function
-rw-r--r-- | gkeys/gkeys/actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py index 815ea43..5446dc3 100644 --- a/gkeys/gkeys/actions.py +++ b/gkeys/gkeys/actions.py @@ -749,7 +749,6 @@ class Actions(ActionBase): messages.append(_unicode("Using config defaults..: %s %s") % (args.category, args.nick)) return self.verify(args, messages) - return self._verify(args, key, messages) @@ -838,6 +837,8 @@ class Actions(ActionBase): break else: sig_path = None + elif signature: + sig_path = os.path.abspath(signature) self.logger.info("Verifying file...") verified = False results = self.gpg.verify_file(key, sig_path, filepath) |