use gpg or gpg2 or gpg1 according to the environment.
Encrypt Files
$ gpg -r Euron -ea filename.txt # use public key and output ascii. use this option.
or
$ gpg -c filename.txt # use symmetric and output binary
or
$ gpg -ca filename.txt # use symmetric and output ascii
Manage Keys
export public key.
$ gpg2 --output <key_file_name> --armor --export Euron
export secret key.
$ gpg2 --output <key_file_name> --armor --export-secret-keys Euron
import
$ gpg2 --import <key_file_name>
0 件のコメント:
コメントを投稿