commit: a537deef9c974b52cec402fc7f0f7cc9401814a2
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: Fri Dec 23 07:36:42 2016 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=a537deef
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 849568d..6ce4199 100644
--- a/gkeys/gkeys/actions.py
+++ b/gkeys/gkeys/actions.py
@@ -746,7 +746,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)
@@ -833,6 +832,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)