[Enigmail] Problems signing message (gpg-agent related?)
Pierre Bernhardt
pierre at starcumulus.owl.de
Wed Jul 25 05:39:18 PDT 2007
Patrick Brunschwig schrieb:
> Pierre Bernhardt wrote:
>> James Davis schrieb:
>
> Could you please create debug logs as described on
> http://enigmail.mozdev.org/bugs.html and send them to me (in private)?
>
> I can then hopefully analyze what goes wrong (or at least what goes on).
> I assume that gpg expects a gpg-agent for some card operations, however
> the use of gpg-agent in Enigmail is not yet tested (and therefore not
> really supported) on Windows.
Hi,
thanks for your answer. I'll check the link this eveninig.
But for your information gpg-agent is not used because I never
selected these option before (and I've never used this in 1.5)
A question: Any idea how I can check these command manually
under bash?
C:\Programme\GnuPG-Pack\gpg.exe --charset utf8 --reader-port 'SCM Micr
osystems Inc. SPRx32 USB Smart Card Reader 0' --batch --no-tty --status-fd 2 --c
omment 'Using GnuPG with Mozilla - http://enigmail.mozdev.org' --digest-algo sha
1 -s -b -a -t -u 0xD0DCBB1D --passphrase-fd 0 --no-use-agent
If I select the gpg-agent then I get an error message from gpg:
gpg: NOTE: --use-agent is not available in this version
...and the signin is failded.
Here the whole Enigmail console log include one test with mime/signing without
gpg-agent before I made the test with option gpg-agent:
Initializing Enigmail service ...
EnigmailAgentPath=C:\Programme\GnuPG-Pack\gpg.exe
enigmail> C:\Programme\GnuPG-Pack\gpg.exe --charset utf8 --reader-port 'SCM Micr
osystems Inc. SPRx32 USB Smart Card Reader 0' --batch --no-tty --version
gpg (GnuPG) 1.4.7
Copyright (C) 2006 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.
Home: F:/gpg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
enigmail> C:\Programme\GnuPG-Pack\gpg.exe --charset utf8 --reader-port 'SCM Micr
osystems Inc. SPRx32 USB Smart Card Reader 0' --batch --no-tty --status-fd 2 -d
gpg: Signature made 07/25/07 14:07:56 using RSA key ID 1DB0E8B0
gpg: Can't check signature: public key not found
enigmail.js: Enigmail.decryptMessageEnd: Error in command execution
enigmail> C:\Programme\GnuPG-Pack\gpg.exe --charset utf8 --reader-port 'SCM Micr
osystems Inc. SPRx32 USB Smart Card Reader 0' --batch --no-tty --status-fd 2 -d
gpg: Signature made 07/25/07 14:07:56 using RSA key ID 1DB0E8B0
gpg: Can't check signature: public key not found
enigmail.js: Enigmail.decryptMessageEnd: Error in command execution
enigmail> C:\Programme\GnuPG-Pack\gpg.exe --charset utf8 --reader-port 'SCM Micr
osystems Inc. SPRx32 USB Smart Card Reader 0' --batch --no-tty --status-fd 2 --c
omment 'Using GnuPG with Mozilla - http://enigmail.mozdev.org' -t --clearsign -u
0xD0DCBB1D --passphrase-fd 0 --no-use-agent
gpg: detected reader `SCM Microsystems Inc. SPRx32 USB Smart Card Reader 0'
gpg: signatures created so far: 144
enigmail> C:\Programme\GnuPG-Pack\gpg.exe --charset utf8 --reader-port 'SCM Micr
osystems Inc. SPRx32 USB Smart Card Reader 0' --batch --no-tty --status-fd 2 --c
omment 'Using GnuPG with Mozilla - http://enigmail.mozdev.org' --digest-algo sha
1 -s -b -a -t -u 0xD0DCBB1D --passphrase-fd 0 --no-use-agent
Ihr SmartCard-Lesegerät wurde nicht gefunden.
Bitte installieren Sie das Lesegerät, legen die Karte ein und wiederholen den Vo
rgang.
enigmail.js: Enigmail.encryptMessageEnd: Error in command execution
enigmail> C:\Programme\GnuPG-Pack\gpg.exe --charset utf8 --reader-port 'SCM Micr
osystems Inc. SPRx32 USB Smart Card Reader 0' --batch --no-tty --status-fd 2 --c
omment 'Using GnuPG with Mozilla - http://enigmail.mozdev.org' -t --clearsign -u
0xD0DCBB1D --use-agent
gpg: NOTE: --use-agent is not available in this version
gpg: detected reader `SCM Microsystems Inc. SPRx32 USB Smart Card Reader 0'
gpg: signatures created so far: 145
gpg: can't query passphrase in batch mode
gpg: PIN callback returned error: general error
gpg: signing failed: general error
gpg: [stdin]: clearsign failed: general error
enigmail.js: Enigmail.encryptMessageEnd: Error in command execution
The rest will follow directly.
MfG...
Pierre Bernhardt
More information about the Enigmail
mailing list