Size: 5074
Comment: added link to article about how to handle passwords + removed todo
|
Size: 2674
Comment: simplified the section about key creation and removed section about advanced settings
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
//This tutorial is for Gpg4win 4.0.3. For new versions this process may differ.// | //The first part of this tutorial (key creation) is for Gpg4win 4.1.0. The rest is for 4.0.3. since it wasn't updated yet. For new versions this process may differ.// |
Line 11: | Line 11: |
*[[Gpg4win/Tutorials/KeyPairCreation#advanced_key_options|Advanced settings for new keys]] | |
Line 23: | Line 22: |
* Click on **File** in the menu bar \\\\ {{open_file_menu.png}} \\\\\\ * Click on **New Key Pair...** in the menu \\\\ {{menu_entry_new_key_pair.png}} \\\\\\ * Click on **Create a personal OpenP~GP key pair** \\ {{choose_key_type.png}} \\\\\\ * In the next window enter your name and the email address the new keys will belong to. \\\\ {{enter_email_name.png}} \\\\\\ * It is also recommended to set a password so activate the checkbox **Protect the generated key with a passphrase.** \\ {{activate_password.png}} \\\\\\ * If you need to set more settings for your new keys go to the section [[Gpg4win/Tutorials/KeyPairCreation#advanced_key_options|Advanced settings for new keys]]. Sometimes this is necessary because not every type of key is compatible with every application and there are different recommendations about the size of a key. * Click on **Create** \\ {{create_key.png}} \\\\\\ * A small window appears. Here you now have to enter a password/passphrase twice. ** More information about passwords: **[[https://www.bsi.bund.de/EN/Themen/Verbraucherinnen-und-Verbraucher/Informationen-und-Empfehlungen/Cyber-Sicherheitsempfehlungen/Accountschutz/Sichere-Passwoerter-erstellen/sichere-passwoerter-erstellen_node.html|Article "Creating Secure Passwords"]] from the Federal Office for Information Security in Germany **[[https://www.bsi.bund.de/EN/Themen/Verbraucherinnen-und-Verbraucher/Informationen-und-Empfehlungen/Cyber-Sicherheitsempfehlungen/Accountschutz/Sichere-Passwoerter-erstellen/Umgang-mit-Passwoertern/umgang-mit-passwoertern_node.html|Article "Handling Passwords Securely: a Step-by-step Guide"]] from the Federal Office for Information Security in Germany \\\\ {{enter_password.png}} \\\\\\ * Confirm with a click on **OK**. \\\\ {{confirm_password.png}} \\\\\\ * Now you have two options: ## Click on **Finish** ## Or you go on with the section [[Gpg4win/Tutorials/KeyPairCreation#backup|Backup your key pair]] to backup your key pair so you don't forget it later. \\ {{finish_key_creation.png}} \\\\\\ |
==== Click on "New Key Pair" {{kleo_start_key_creation.png}} |
Line 66: | Line 25: |
<<Anchor(advanced_key_options)>> === Advanced settings for new keys Here we show how to create a RSA key with 4096 bit size. In the advanced settings you could also decide for which cases your new keys can be used and how long they are valid. \\\\ * Click on **Advanced Settings...**. \\ {{advanced_settings.png}} \\\\\\ * Select the key type **RSA**. \\\\ {{select_RSA.png}} \\\\\\ * Select **4,096 bits** in both of the dropdown menus. \\\\ {{select_key_size.png}} \\\\\\ * Confirm with **OK** \\\\ {{confirm_advanced_settings.png}} \\\\\\ |
==== Enter your name and email address and click on "OK" {{kleo_enter_name.png}} ==== When the next window appears confirm with a click on "OK". {{kleo_creation_success.png}} |
Create your own key pair
The first part of this tutorial (key creation) is for Gpg4win 4.1.0. The rest is for 4.0.3. since it wasn't updated yet. For new versions this process may differ.
under construction
Contents
Introduction
If you want to start with encryption it is necessary to have your own pair of keys so that you have a private and a public key. Maybe you already have one but you need to import it. Then you can follow this section as it also works with your own key pair. The other way is to create your key pair and this way is shown in this tutorial.
Sometimes the keys are also called "certificates" which is a term coming from the encryption via S/MIME. For many users (and especially those who are unsure) encryption via OpenPGP is the right way. Since Gpg4win/Kleopatra can handle both the certificates and the keys are called certificates in the program.
Create the key pair
Click on "New Key Pair"
Enter your name and email address and click on "OK"
When the next window appears confirm with a click on "OK".
Backup your key pair
todo link general recommendation about backups and the section where to backup
It's great that you chose to backup your keys now because if you didn't maybe you would forget it and if you loose your keys you can never read messages that were encrypted by these keys again.
- Click on the option Make a Backup Of Your Key Pair...
- The file explorer will be opened. Here you can choose a folder where your backup will be saved (The place you save the keys to should be on a different device than you normally use e.g. an external hard drive). Then click on Save.
- Enter the password/passphrase that you chose when you created the key pair...
- ... and click on OK
- The next window explains that the backup was successfully. Confirm with OK.
Congratulations! You created and backed up your own key pair.