Step 3) decrypt files using that key using RSA (RSA1 for example) · Why use RSA? It makes the key harder to guess. How to decrypt a big file by someone's public key (also known as RSA-1024) · Step 0) Get his public key. Note that you need the public key to decrypt the file, since the file's key will be the same when your key is given. · Step 1) Generate two keys (one for decryption in OpenSSL, and one for decrypting in GnuPG): A) Use rsa-keygen RSA:1024 Step 2) Put the key in the public key space (you can find this with rsa-utils rsa-utils-keyspace public-keys), B) Note that the first one (key A) has to be owned by the user, because the second one (key B) is the private key; this one is the one you're going to use to decrypt the file. Step 3) Use GPG --export-digest-algo SHA384 | GPG --import KEY_FILE Note: Remember to use --encrypt-key KEY_FILE in GPG --gen-key with your own key. Note: If you're still confused, here's a great article. Note: The file KEY_FILE is your public key. We're going to encrypt it using the public key, so you need to import the key that corresponds to it. This step is optional, but it's essential if you want to encrypt files with someone else's Key ID and key file. Step 4) Open a terminal and GPG --import KEY_FILE to see your key: Step 5) Decrypt your file with this command: GPG --decrypt KEY_FILE --no-emit --armor KEY_FILE This takes a long time, but it's needed: GPG will need a very long time to decrypt your file (we need to spend quite some time in it).