I want to remove the passphrase from gpg key after creating it. Why? .
Because the tigase-kontalk documentation says so and I want to compile and setup my own version of this server . But am stuck at this point
Create GPG key Create a GPG key for both signing and encrypting, and
remove its passphrase after creating it
I want a linux gpg command to remove the passphrase or to export unprotected keys.
Best Answer
Here is a more complete answer based on Justin's.
(Using gpg 1.4.16 on Ubuntu 14)
Get the ID of your key like this:
This will output a few lines similar to below. The key ID is the value XXXX
Open the gpg key edit submenu like this:
You will see information about the key. Type
passwd
at the prompt to change the password:Enter your existing passphrase.
Enter the new passphrase for this secret key.
Press Enter twice and consider the warnings from the tool and its implications before proceeding.