Assumption
- gpg is installed and you can run gpg in your terminal
Basic encryption concept
gpg is mainly used for encryption. This article will conver that part.
The flow is that gpg will encrypt the data for someone (which identified by keys) and only him/her key can decrypt the data.
To encrypt, gpg needs public key. How that that someone have the key? Good question. Just create it and he will have a pair of keys.
Read More