On the one hand, I covet the huge storage space and upload speed of various major cloud storage in China, and on the other hand, I am afraid of the operation of various cloud storage in China. What should I do? You can use GnuPG encryption to protect your backup data.
GnuPG is a powerful open-source encryption software. It can be used in many ways around its public and private keys. for example, if your friend has imported your public key, you can use your public key to encrypt the information when sending it to you. After encryption, this information is theoretically unlocked only by your private key. alternatively, you can use GnuPG and Emacs's Org-Mode to encrypt specified content in your Org article, such as the password written in your Org file.
Here we will only introduce how to encrypt a single file. For more information, see the connection below.
Note: All your keys exist ~ /. In gnupg/, although it cannot be directly obtained after processing, it can still be tampered with under attacks from other software. this is the weakness of the whole gpg. Be sure to protect this folder.
Wikipedia GnuPG Gnu Privacy Guard (GnuPG) pocket HOWTO (Chinese version) uses GnuPG to encrypt your Org-Mode article
OS X Install GnuPG
Brew install gpg
Generate your own key
Gpg -- gen-key
Export Public Key
Gpg -- armor -- output filename -- export [UID]
Import Public Key
Gpg -- import filename
View existing keys
Gpg -- list-keys
Encrypted backup
Gpg-ea-r [UID] filename.tar.gz
Decrypt backup
Gpg-o filename.tar.gz-d filename.tar.gz. asc