commit: 82fb94f1ab462d303c150de52f93945b77599c95
Author: aeroniero33 <justthisthing <AT> gmail <DOT> com>
AuthorDate: Sat Jun 18 16:59:58 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 09:40:26 2016 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=82fb94f1
Fixed a bug in the verify function
gkeys/gkeys/actions.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py
index 12b8efa..49fa68b 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)