Erstellt: 11. 5. 2009, 10:04
Creating a new GnuPG key - with KDE
Since everyone seems to be in the mood to create new keys I will show a simple way of doing this. I will follow Ana's ordering and just update the steps that I would do another way.
Update .gnupg/gpg.conf
Just do as written by Ana.
Create key
-
kgpg -k
- <Ctrl-N> or click "Keys" - "Generate Key Pair..."
- Type in whatever you think is correct
Add other UID
- Select the key created in the last step. If you have chosen to set it as default key you can reach it by pressing <Ctrl-Home>.
- Choose "Add User Id..." either from the context menu or from the "Keys" menu as before.
- Fill in the needed details.
Change preferences
- Select your key.
- Choose "Edit Key in Terminal" from the context menu or press <Alt-Enter>
- the rest is like Ana described.
Set primary UID
- Expand your key.
- Choose the user id you want to be the primary one.
- Choose "Set User Id as Primary" from the context menu.
Add subkey for encryption
Open the key for editing in terminal as described in "Change preferences" and type in the commands Ana has written down.
Sign my new key with my old key
- Select your key.
- Choose "Sign Keys..." from the context menu.
- Select your old key.
Send new key to key server
- Select your key.
- Choose "Export Public Keys..."
- Select the keyserver to use.
Notes
Whereever I refer the context menu you can also go to the "Keys" menu and find the same action there.