GnuPG: How to use it and how you can benefit from it
I just wanted to create a notes for using GnuPG which is a very cool and useful tool in dealing your privacy and secret data in the internet. $> gpg --gen-key // to create for your own key $> gpg --delete-secret-keys myemail@email.com // where your myemail@email.com is the uid of the key // first delete the secret keys before deleting the key $> gpg --delete-key myemail@email.com // to delete the key $> gpg --export -a "myemail@email.com" > public.key // to export and create a file named public.key containing your public key signature. Your public key signature will be used by others so that they can encrypt the file/message from your key but they won't never decrypt it unless you also give them your private key. Only your private key can decrypt such encrypted message from your public key encrypted file/message. $> gpg --export-secret-key -a "myemail@email.com" > private.key // this will export a private key which you c...