[Enigmail] Enigmail fails with GnuPG2 + OpenPGP Card
Erico Mendonça
erico.mendonca at gmail.com
Tue Jul 28 08:38:49 PDT 2009
On Tue, Jul 28, 2009 at 12:28 PM, Patrick Brunschwig <
patrick at mozilla-enigmail.org> wrote:
> >
> > Actually there is: try to run it with the option "--version" and fetch
> > the first line.
> >
> > Here's the output for both:
> >
> >
> > [slaughter at slaughterhouse ~]$ gpg --version
>
>
> Right, that's what I do --but I don't want to do this _before_ the user
> clicks on OK.
>
>
It may sound stupid and inefficient, but some programs do it like this:
1. Monitor what is being typed on the field.
2. If the user stops typing for more than 2 seconds, try to check if the
binary exists (in our case, run it with --version)
3. update the status line (e.g. "Found GPG version x.x" or "invalid
executable")
4. repeat until success.
Or make the field "uneditable" and add a "Browse..." button to it. The check
will be made when the user ends the file selection dialog.
--
-- Erico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/enigmail/attachments/20090728/793200fc/attachment.html>
More information about the Enigmail
mailing list