Using GPG For Symmetric File Encryption
Many cloud storage providers boast strong encryption, but for most services they are still capable of accessing the content of files on their servers. Fortunately there’s a very simple way to encrypt files (or .zip archives) with GPG using symmetric encryption, and with a password instead of a keyfile. This feature can be used with just two simple commands.
To encrypt a given file:
Of course, anyone wanting to decrypt the file must use the same password, as there is no public key here. To decrypt the file, simply use:
It’s also possible to define which algorithm to use for encrypting file, from the following: