[patch] button to import missing pgp key

Hi all,

attached is a patch against today's cvs to simplify retreiving a missing 
pgp key from a key server (Carlos proposed implementing this a while ago).

With this patch, instead of just popping up a warning, the attached dialog 
will be displayed. If you click yes, gpg is run asynchronously (as this 
may need some time, think of a dial-up connection) in the background to 
retreive the key from a key server. The result is displayed in a separate 
window after the process finished. When you then reselect the message, the 
signature status can be checked for.

Please note that the stuff added to rfc3156.c should be regarded as a 
temporary implementation. Currently, neither seahorse nor gpa (are there 
more gnome gpg frontends?) can be triggered to get a key from a keyserver 
(afaik now they both don't work with keyservers at all!). If they support 
an interface for this (maybe as an URI handler, or through bonobo? I don't 
understand enough of these internals...), this should of course be used.

This patch can only be used if gpg is installed, as I don't know how to 
call other apps. There is a check in configure.in for this, so it's 
necessary to re-run autogen.sh after applying the patch. And, of course, 
you need a working gpg setup (.gnupg/options) for this to work...

Opinions? Comments?

Cheers, Albrecht.

  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress@arcor.de



PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]