How to generate OpenPGP key pair or Personal key?

You can generate an OpenPGP key pair or a Personal key within Mailfence:

  1. Go to Settings -> Messages -> Encryption and click on Add personal key.
  2. Click on Generate a new personal key.
    • Select the email address for which you would like to generate your key pair.
    • Type a display Name. This will appear before your email address.
    • Choose the algorithm (default: RSA).
    • Put an expiration date OR check This key does not expire.
    • Type your Passphrase and confirm it by entering it again.

      Optional: Ticking Publish on Public key server check box will upload your public key on server. You will receive an email to prove ownership of the email address (if not already done), which you will need to complete. Check their privacy policy. This will allow your contacts to find your public key using your email address.
  3. Click on Generate a new personal key.
    • By generating OpenPGP keypair, you consent to make public key (including e-mail address and name) available on our Web Key Directory server. This only applies to keys associated with domain name.
  4. Revocation certification: Click on Yes (strongly recommended).
    • You can Download it locally OR Save it your Mailfence Documents. In any case, keep it on the safest digital storage that you have. It will allow you to revoke your Personal Key in case of forgotten passphrase or key-compromised situation and let people know that you no longer use this key pair.
  5. After you saved your OpenPGP key pair revocation certificate, click on Close.

Both Web Key Directory and Validating key servers allows others to retrieve your public key using e-mail address to facilitate secure communication.

Was this article helpful?

Related Articles

Need more details?
We have documented the whole application.