Kleopatra Encryption

Kleopatra - What does RSA do and is more bits (4,096) better than the default option (3,072) RSA vs DSA vs ECDSA is the type of key. DSA is considered insecure, so don't choose that. The number is the size of the key in bits. More bits means more secure. However, ECDSA can use much smaller key sizes with the same level of security. The Kleopatra Handbook Chapter 1 Introduction Kleopatra is the KDE tool for managingX.509andOpenPGPcertificates in theGpgSMandGPG keyboxes and for retrieving certificates from LDAP and other certificate servers. Kleopatra can be started from KMail’s Tools!Certificate Manager menu, as well as from the command line.

In this blog, we will explore how can we encrypt and decrypt files using GPG.

GPG (GNU Privacy Guard) is a free encryption software which is compliant with OpenPGP Standard.

We will learn how to use PGP encryption to send encrypted messages to anyone.

How to do the setup

  1. Download software from here
  2. Click on the exe file, install it with all default settings
  3. Generate the keypair

Once installation is complete, below screen will come

Click on New Key Pair — you can provide any random values.

Provide the passphrase which will be used later to import or decrypt any file.

Store the keypair on your machine by selecting an option “Make a Backup of your keypair”. This will store two files, one is private key and one is public key.

Private key must not be shared by anyone else. Public Key can be shared with anyone so that they can share the secrets in an encrypted form.

How to share secrets

Kleopatra Encryption

Now we will see how we can share the secrets with anyone. For ex- My colleague ask me for the database password then how can I share it in a secure way

Steps :

  1. Import the public key of the user

Click on Import — select the public key of the user which he has provided. It is recommended that we share the public key as an attachment.

Kleopatra encryption for windows

Finally, you will see the pop up message “Import is completed successfully”

Kleopatra Encryption Software

2. Copy the secrets

Open notepad- copy the secret — click on tools -> clipboard-> encrypted -> Add recipient ( select user)

Kleopatra Encryption

Copy the encrypted message to your notepad and share it with the user.

Kleopatra Encryption

Kleopatra Encryption How To Send To Email

How to open the encrypted text

Now we will see how we can open the encrypted text send by anyone

  1. Provide your public to the user. User has to import your public key
  2. User will share the encrypted message
  3. Open Kelopatra — Click notepad — paste the encrypted message-> click on Decrypt/verify as highlighted below

This will prompt for the passkey and after that you should be able to see the decrypted text

Kleopatra Encryption

Congratulations, you have successfully explore how can we encrypt and decrypt files using GPG.