[Enigmail] can not query passphrase in batch mode
Stefan X
stefanxe at gmx.net
Mon May 26 04:02:40 PDT 2008
That's it! The option "never ask for any passphrase" was enabled. But I
am pretty sure I never enabled this option. So I created another key
without a passphrase. I found out that in such case the option is
automatically enabled by Enigmail no matter if another key with a
passphrase exist or not. For my opinion this is a bug. Instead Enigmail
should check at time of key creation if another key with passphrase
protection exist. If this is the case this option should NOT
automatically be enabled. Otherwise it could. It would even be better if
Enigmail checks at runtime if a passphrase is required and does query or
does not query appropriately. Than such option would be obsolete.
Patrick Brunschwig schrieb:
> Stefan X wrote:
>> Hi!
>> I am using Enigmail for several years but recently I ran into trouble. I
>> have two secret keys and created a third one with Enigmail. Since that
>> time I am not able to decrypt any email anymore. The output of
>> Enigmail's console is following:
>
>
>> enigmail> C:\Program Files\GNU\GnuPG\gpg.exe --charset utf8 --batch
>> --no-tty --status-fd 2 -d
>> gpg: Passphrase kann im Batchmodus nicht abgefragt werden [which means:
>> can not query passphrase in batch mode]
>
>> [Some info about the actual e-mail is following.]
>
>> gpg: Entschlüsselung fehlgeschlagen: Geheimer Schlüssel ist nicht
>> vorhanden [which means: decryption failed: secret key does not exist]
>> enigmail.js: Enigmail.decryptMessageEnd: Error in command execution
>
>
>> All of my keys are now passphrase protected. The third key had no
>> passphrase protection before but I changed this in hope to fix the
>> described problem.
>
>> Any ideas?!
>
> I think the problem is with your preferences. The gpg call clearly
> misses the parameter --passphrase-fd 0, which happens under the
> following conditions:
>
> 1) "never ask for any passphrase" is enabled
> 2) "use gpg-agent for passphrase handling" is enabled
>
> Since you claim that "use gpg-agent for passphrase handling" is
> disabled, I can only imagine the 1st option (found in the Basic tab of
> the Enigmail preferences) is enabled.
>
> -Patrick
_______________________________________________
Enigmail mailing list
Enigmail at mozdev.org
https://www.mozdev.org/mailman/listinfo/enigmail
More information about the Enigmail
mailing list