GPG exist in both Windows and Linux system. It is a tool to perform public key encryption for files or messages. GPG may download from http://www.gnupg.org/
Some useful commands
- Creating keys: gpg --gen-key
- Exporting public keys: gpg --export -a [UID]
- Exporting private keys: gpg --export-secret-key -a [UID]
- Importing keys: gpg --import [FileName]
- List keys: gpg --list-keys
- Delete public keys: gpg --delete-keys UID
- Delete private keys: gpg --delete-secret-keys UID
- Encrypt a file: gpg -e -r [UID] <filename>
- Decrypt a file: gpg -d -o <output-file> <myfile.gpg>
No comments:
Post a Comment