linux下生成密钥

来源:互联网 发布:udp网络编程 编辑:程序博客网 时间:2024/05/17 06:41

生成密钥步骤……
[star@linux star]$gpg --gen-key


Your selection? 回车


What keysize do you want ?(1024)回车


Key is valid for?(0)回车

Key does not expire at all

is this correct(y/n)? Y


Real name: star33375249


Email address:star33375249@126.com


Comment:辛星的密钥(注:输入中文终端要支持UTF-8)


Enter passphrase:输入密钥口令
Repeat passphrase:输入密钥口令

查看生成的密钥:$ ls -la

ls .gnupg/

gpg.conf pubring.gpg pubring.gpg~ random_seed secring.gpg trustdb.gpg


证书的收回:

原创粉丝点击