[Enigmail] Enigmail fails with GnuPG2 + OpenPGP Card
Patrick Brunschwig
patrick at mozilla-enigmail.org
Tue Jul 28 08:50:22 PDT 2009
Erico Mendonça wrote:
>
>
> On Tue, Jul 28, 2009 at 12:28 PM, Patrick Brunschwig
> <patrick at mozilla-enigmail.org <mailto: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.
Believe it or not, but I considered this option -- and decided against
it for various reasons.
> 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.
There is a text entry field and a "Browse ..." button on the dialog.
-Patrick
More information about the Enigmail
mailing list