Searching We.Love.Privacy.Club

Twts matching #bash
Sort by: Newest, Oldest, Most Relevant

Using Gnupg and openssl for encryption
I have used Gnupg to encrypt my private files, specially those that I upload to the clouds, for a long time. I used to encrypt to self, using my own key, then later moved to symmetric encryption only. The command is easy:

Using Gnupg

To encrypt:

gpg --cipher-algo aes256 --symmetric file.txt

Adding the option --armor to the above will produce an ASCII armoured encrypted file.

To decrypt:

... ⌘ [Read more](https://collantes.us/2019/07/30/using-gnupg-and-openssl-for-encryption/)

⤋ Read More

Backing up and restoring GPG keys
If you use GPG to occasionally encrypt and/or sign your email, or to encrypt your files before placing them on the cloud, you will understand how important it is to have a backup of your GPG keys. Similarly important will be to know how to restore them as well.

Backing up your keys and configuration files

To back your private, and public keys, as well as your trust database, you will do1:


gpg --armor --export-secret-keys > ~/Des ... ⌘ [Read more](https://collantes.us/2015/10/13/backing-up-and-restoring-gpg-keys/)

⤋ Read More