Skip to content
Snippets Groups Projects
Commit 77805219 authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

Merge remote-tracking branch 'origin/2.0.x' into 2.0.x

parents 49e19b9d c6b75e73
Branches
Tags 2.0.2
No related merge requests found
......@@ -545,9 +545,12 @@ class MonkeysignScan(gtk.Window):
self.msui.log(_('looking for key %s in your keyring') % self.msui.pattern)
self.msui.keyring.context.set_option('export-options', 'export-minimal')
if self.msui.tmpkeyring.import_data(self.msui.keyring.export_data(self.msui.pattern)):
# XXXX: this actually hangs when signing the key, maybe because we're not in a callback?
# it's the prompting that hangs, see msui.ask...
self.watch_out_callback(0, 0) # XXX: hack, the callback should call a cleaner function
# for some reason, we were holding on to a lock already, release it
gtk.gdk.threads_leave()
self.msui.copy_secrets()
self.msui.sign_key()
self.msui.export_key()
self.resume_capture()
return # XXX: also ugly, reindent everything instead
# 1.b) if allowed (@todo), from the keyservers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment