Creating PGP keys from your Web browser requires you to install an add-on.
So if you haven’t already, install Mailveloppe add-on in your web browser:
Mailvelope for Google Chrome
Mailvelope for Mozilla Firefox
Mailvelope for Microsoft Edge
To create a new keypair for your email you need to:
- open your web browser then click on the Mailvelope icon in the top right corner of your browser to start setting up your encryption keys. Choose "Keyring".
- select “Generate”.
- Fill in the needed information
-
give a name associated with the key (usually the name of the key owner, but can be what you want)
-
enter your email address that you want to use with the key. For Lacre, It should be the address you want to use with Lacre.
-
you can change additional settings by clicking on "Advanced", like changing key type to Ecliptic Curve as it is considered more secure and efficient than RSA keys.
-
enter a password for your private key. You'll be asked for it when you want to decrypt an email with your private key.
-
Uncheck the "Upload public key to Mailvelope Key Server" box, unless you want it to be published online (it allows people to find your public key and send you encrypted emails, even if you didn't directly send your public key to them).
-
Click on "Generate".
-
Congratulations! Your new encryption key is created and ready to be used.
Although you are technically done, always backup your keys. Loosing important data is devastating. Loosing the key to open all your email communication can be even worse. Have a backup stored safely offline, just in case.
- Select “Export” from the Key Management page.
- Choose "Public" and give your public key backup file a name (it is good practice to have "_pub" in the file name to indicate that this is the public key, and "_priv" to indicate this is the private key).
- Then click on "Save" and choose where to save the file. Do the same thing for your "Private" key.
With proper end to end encryption, you are responsible yourself for your data security. So the only person to blame for lost key or password is you! With great security comes great responsibility.