3.5.2. Creating GPG Keys in KDE
To create a GPG Key in KDE, follow these steps:
- Start the KGpg program from the main menu by selecting Applications → Utilities → Encryption Tool. If you have never used KGpg before, the program walks you through the process of creating your own GPG keypair.
- A dialog box appears prompting you to create a new key pair. Enter your name, email address, and an optional comment. You can also choose an expiration time for your key, as well as the key strength (number of bits) and algorithms.
- Enter your passphrase in the next dialog box. At this point, your key appears in the main
If you forget your passphrase, you will not be able to decrypt the data.
To find your GPG key ID, look in the Key ID column next to the newly created key. In most cases, if you are asked for the key ID, prepend
0xto the key ID, as in
0x6789ABCD. You should make a backup of your private key and store it somewhere secure.