COURSE 1 - 3.3.3.1. PGP: Encryption of file (Kleopatra)
QUICK INFO:
Asymmetric encryption: key pair (Private, Public); the recipient sends his Public key to the sender
To encrypt a file: "Kleopatra > Sign/Encrypt" > choose file to be encrypted > tick "Sign" (if you want to sign) and select private key you want to use for signature > tick "Encrypt for me" (if you want to be able to decrypt the encrypted text) and select your Public key > tick "Encrypt for others" (if you want others to be able to decrypt the encrypted text) and select (or import) their Public key > select where to save the file > "Sign/Encrypt"
To decrypt a file: "Kleopatra" > "Decrypt/Verify" > select file to be decrypted > "Open"
How to encrypt/decrypt a file using Kleopatra (gui):