-
- 添加注册码,注册PGP
pgp --license-authorize --license-number "DAAY2-UUE69-LE950-RAZ0L-2AW5N-ANA"
-
- 列出本机key
pgp --list-keys
-
- 启用某个KEY
pgp --enable 0x11223344
-
- 用公钥加密
pgp -e d:\file1.rtf -r 0x11223344
-
- 加密目录
pgp -e -i t:\ -r 0x11223344 --archive -o d:\1.pgp
-
- 解密
pgp --decrypt --input "test.pgp" -r 0x11223344 --passphrase "the_password"
-
- 将KEY设置为可信
pgp --set-trust 0x11223344 --trust implicit
发表回复