分类: LINUX
2008-08-05 08:23:45
gpg –gen-key
gpg --list-keys
gpg --list-public-keys
gpg –list-secret-keys
gpg --export -a userID >public.key
gpg --export-secret-key -a userID>secret.key
gpg --import key.file
gpg -se -r userID file
gpg -e -r userID file
gpg -sc -r userID file
gpg -c -r userID file
gpg -b -r userID file
gpg [--decrypt] file
gpg --verify sig.file
gpg --delete-key userID
gpg --delete-secret-key userID
gpg --delete-secret-and-public-key userID