gpg2 export secret key without passphrase
MFPA
2017-r3sgs86x8e-lists-groups at riseup.net
Fri Dec 29 03:04:43 CET 2017
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Wednesday 27 December 2017 at 5:13:53 PM, in
<mid:CAJiu13y+covbogskUGg6miH0GvMRMBUFrhCe3m_SNT2CKR=QWQ at mail.gmail.com>,
Caleb Case wrote:-
> How does one export a gpg2 private key without a
> passphrase?
Here, using GnuPG 2.2.4 under Windows, I was able to:-
1. gpg --edit-key KeyID passwd.
2. enter the key's existing password in the pinentry pop-up
3. press ENTER when asked for the new passphrase
4. press the button to confirm I don't want protection
5. repeat 3. and 4.
6. quit the key editing dialogue
7. gpgconf --kill gpg-agent and then try another key editing operation
on the same key to verify that I was no longer asked for a passphrase
8. gpg -a -o path\to\file --export-secret-key KeyID
- --
Best regards
MFPA <mailto:2017-r3sgs86x8e-lists-groups at riseup.net>
I'd give my right arm to be ambidextrous.
-----BEGIN PGP SIGNATURE-----
iNUEARYKAH0WIQSWDIYo1ZL/jN6LsL/g4t7h1sju+gUCWkWiv18UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTYw
Qzg2MjhENTkyRkY4Q0RFOEJCMEJGRTBFMkRFRTFENkM4RUVGQQAKCRDg4t7h1sju
+rYBAQCTCqgylZp/zq1vLEgqIuQRYZqVd4hLMI9L56lt8ycARwD9FoacVkQ9M3TS
SwKW0L1c+yM7MQuXfIxrSz5p+NlRrw+JApMEAQEKAH0WIQRSX6konxd5jbM7JygT
DfUWES/A/wUCWkWi3l8UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0NTI1RkE5Mjg5RjE3Nzk4REIzM0IyNzI4MTMw
REY1MTYxMTJGQzBGRgAKCRATDfUWES/A/39KD/9ojMmofmweHVDNj4+ibVw+gMlF
8uQgh6S6VScQxRgdxrR4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