how to recover secret key passphrase?

vedaal at vedaal at
Tue Aug 20 19:46:44 CEST 2019

On 8/20/2019 at 12:57 PM, "ilf" <ilf at> wrote:

> My problem is getting a usable input for john 
>from the current the current private-keys-v1.d/ gpg-agent private key key 
>store format.


Try This:

[1] Open a new terminal command prompt window
[2] Type  gpg -a --export-secret-key keyname

The private key block should then appear in your terminal window.

No passphrase is necessary unless you want to 'edit' the key.

This works in both GnuPG 1.x and 2.x 
assuming that your keyrings are in your home directory.

Don't use gpg-agent for this.


More information about the Gnupg-users mailing list