Hello! We are running our annual fundraising. Please consider making a donation if you value this freely available service or want to support people around the world working towards liberatory social change. https://riseup.net/donate.

Commit 90616fba authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

hotfix: properly verify the image signature file

parent 2048019f
......@@ -356,7 +356,7 @@ class MonkeysignScan(gtk.Window):
for suffix in [ '.asc', '.sig' ]:
if os.path.exists(filename + suffix):
# armored signature exists, verify it
verified = self.msui.keyring.verify_file(filename + suffix, filename)
verified = self.msui.keyring.verify_file(filename, filename + suffix)
if not verified:
raise GpgRuntimeError(0, _('cannot find signature for image file'))
except GpgRuntimeError as e:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment