Guillaume MULLER
2016-09-01 12:42:52 UTC
Hi,
If your FAQ, on the webpage:
https://www.enigmail.net/index.php/en/faq?view=category&id=11#faqLink_2
In the section "Resolving issues with GnuPG 2.x and gpg-agent"
You forgot to talk about an error I just encountered, following the switch from gpg1x to gpg2x: my drafts were automatically encrypted, but each time I tried to re-edit them, I faced a violet banner with the error:
Missing passphrase
gpg: decryption failed: No secret key
Thanks to a comment on the following webpage:
http://stackoverflow.com/questions/91355/gnupg-decryption-failed-secret-key-not-available-error-from-gpg-on-windows#7974613
and some testing on a locally encrypted file, I finally managed to solve the problem: you have to do the export/import of the *secret* keys manually with:
gpg --export-secret-keys > seckeysfile
gpg2 --import seckeysfile
shred -n 100 seckeysfile
I'm not sure if I made a mistake when switching from gpg to gpg2, or if it is a bug in gpg2, or if there was a tool in enigmail to switch to gpg2, which forgot to export/import the secret keys, but I think it would save a lot of time to other people like me if you would mention the problem/solution in your FAQ!
Cheers,
If your FAQ, on the webpage:
https://www.enigmail.net/index.php/en/faq?view=category&id=11#faqLink_2
In the section "Resolving issues with GnuPG 2.x and gpg-agent"
You forgot to talk about an error I just encountered, following the switch from gpg1x to gpg2x: my drafts were automatically encrypted, but each time I tried to re-edit them, I faced a violet banner with the error:
Missing passphrase
gpg: decryption failed: No secret key
Thanks to a comment on the following webpage:
http://stackoverflow.com/questions/91355/gnupg-decryption-failed-secret-key-not-available-error-from-gpg-on-windows#7974613
and some testing on a locally encrypted file, I finally managed to solve the problem: you have to do the export/import of the *secret* keys manually with:
gpg --export-secret-keys > seckeysfile
gpg2 --import seckeysfile
shred -n 100 seckeysfile
I'm not sure if I made a mistake when switching from gpg to gpg2, or if it is a bug in gpg2, or if there was a tool in enigmail to switch to gpg2, which forgot to export/import the secret keys, but I think it would save a lot of time to other people like me if you would mention the problem/solution in your FAQ!
Cheers,
--
Guillaume MULLER, PhD
PRESANS - Remix Coworking - L'Appart
57 rue de Turbigo
75003 Paris
France
http://www.presans.com
http://feeds.feedburner.com/OYI/fr
Guillaume MULLER, PhD
PRESANS - Remix Coworking - L'Appart
57 rue de Turbigo
75003 Paris
France
http://www.presans.com
http://feeds.feedburner.com/OYI/fr