gpg secret key code example
Example 1: How to export a GPG private key to a file
gpg --output private.pgp --armor --export-secret-key username@email
Example 2: gpg key
gpg2 --armor --output "mon_fichier_chiffré" --encrypt "mon_fichier"
Example 3: gpg key
gpg2 --output --decrypt