-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11.02.15 15:25, Dimitri Dhuyvetter wrote: > On 11-02-15 14:36, Patrick Brunschwig wrote: >> On 11.02.15 14:17, Dimitri Dhuyvetter wrote: >>> As of lately it has become impossible for me to sign outgoing >>> messages or decrypt incoming messages. Sending encrypted >>> messages seems to still work, but saving an encrypted message >>> as draft resulted in an empty draft message. I already tried >>> un-installing (apt-get purge) Enigmail, but that didn't help. >> >>> I have been using Engimail in Thunderbird on Ubuntu for quite >>> a while now and it worked fine until now. I have the private >>> keys, I have checked in Enigmail Key Management and on pgp >>> command line. >> >>> Mails I received and was able to decrypt before I get an error >>> now (the padlock with the red circle with a cross) and the >>> message: >> >>>> "Enigmail Security Info >>>> >>>> Error - decryption failed Public key C6BDEA6A5D9FF1A0 needed >>>> to verify signature >>>> >>>> gpg: decryption failed: secret key not available >>>> >>>> Note: the message is encrypted with the following User ID's >>>> / Keys: 0xC6BDEA6A5D9FF1A0 (Dimitri Dhuyvetter >>>> [email protected])" >> >>> I am still able to decrypt them using gpg command line, the >>> secret key is definitely in my keyring. >> >>> On outgoing messages I try to sign I get the error: >> >>>> Enigmail Alert >>>> >>>> Send operation aborted. >>>> >>>> Error - bad passphrase >> >>> But I don't get prompted for a password. >> >>> Any tips on how I could proceed to solve these issues? >> >> Did you recently upgrade to GnuPG 2? The most common problem on >> Linux is that gpg-agent can't launch pinentry, because the used >> pinentry is console-based. >> >> You might want to check if in ~/.gnupg/gpg-agent.conf points to >> a graphical pinentry tool, such as pinentry-qt or pinentry-gtk >> (parameter "pinentry-program". >> >> -Patrick >> > > I haven't switched to pgp2, but when I do and try to send a signed > message, I get the error: >> Send operation aborted. >> >> Key 0x8C693450 not found or not valid. The (sub-)key might have >> expired.
The problem is that the message from GnuPG is very much misleading if gpg-agent cannot launch pinentry. GnuPG reports that the key is not found instead of telling that something went wrong in the interaction between gpg, gpg-agent and pinentry. Please add the following line to gpg-agent.conf pinentry-program /full/path/to/pinentry-... where ... is gtk, gtk2, qt, qt4 or similar (depending on what is installed). Then killall gpg-agent and retry. - -Patrick -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJU23nIAAoJENsRh7ndX2k74DsP/ilRcX60peYC742/OiHcCodp CURi9vxygHNTzWfGBrsiOsTz6sjyb91iezX5Ua71rJRfiOEkAkJaHx77AsdUrRTW SWRegW+8jUFNsL/nzIgygggxxq6dyL82nC/lyOo4bFfAEnbYXQ8hLwPuBC8xaFkW +txOxnn4vIV8mvbNKJ7qlIOoFpM5BIyCw0H1owFsElSzPjBeamyq4ckbyav264ED v6txwBlrNSdnaxNrQ6HHhp925oybth+MqVELFIqnEji0uYL3XbbXWy5iNelQaRuC DfixDqdeK2hllUBo/5dpgS8bllXXHPIe6P7MYlu8qOHXJDs7cLzrZ9/X5A1xOTIw uOJ+cekH79I//7+jVW9OuAA+td4TZWGgk1Si/eo6r8TYjgbZHrrbmFnu1sEF5mtU MgolYjSxp/gqC0LGq2XzbPQSDkHEv6g+xzBPk/VQ4B8gjKDGX4/MokfzI7/PvUx+ M2cApD5N3yY6DMiTr/nxPhwQqvqE3Aki7powhSG+Dz3YtoF4yH7926SqTP0+r17V d8KEPuKGgJo6asXMzKoon15h+YMv+kuroJp70lY3S4CAFevwZ3ZmVxfxlUn+zpie rUCA1+bexJRXlMpzNfk9QLMlCJgAKADH7n4jNjlXVRqCfnf/lzRhE/weuiO4XetH xTUgjcgl4dWL3VbeZw0Q =xLea -----END PGP SIGNATURE----- _______________________________________________ enigmail-users mailing list [email protected] To unsubscribe or make changes to your subscription click here: https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net
