ログイン
ユーザ名:
パスワード:
パスワード紛失
新規登録
メインメニュー
ホーム
B-Wiki
サイトマップ
最新の20件
一覧
PGP鍵の作り方
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
] [
リンク元
]
開始行:
[[研究室内専用/トップ]]
http://www.netbsd.org/developers/pgp.html からの抜粋
% gpg --gen-key
Please select what kind of key you want:
(1) DSA and ElGamal (default)
(2) DSA (sign only)
(4) ElGamal (sign and encrypt)
(5) RSA (sign only)
Your selection? 5
What keysize do you want? (1024) 2048
Requested keysize is 2048 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct (y/n)? y
You need a User-ID to identify your key; the software co...
from Real Name, Comment and Email Address in this form:
"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf...
Real name: Joe Doe
Email address: joe@doe.org
Comment: (NetBSD)
You selected this USER-ID: "Joe Doe (NetBSD) joe@doe.org"
Enter passphrase:
Repeat passphrase:
public and secret key created and signed.
key marked as ultimately trusted.
pub 2048R/8385E7E3 2004-02-09 Joe Doe (NetBSD) <joe@doe...
Key fingerprint = 9DDA CB87 9FF2 9950 1F5A 7F79 F38C E6...
Note that this key cannot be used for encryption. You m...
the command "--edit-key" to generate a secondary key for...
% gpg --edit-key 8385E7E3
Secret key is available.
gpg: checking the trustdb
gpg: checking at depth 0 signed=0 ot(-/q/n/m/f/u)=0/0/0/...
pub 2048R/8385E7E3 created: 2004-02-09 expires: never ...
(1). Joe Doe (NetBSD) <joe@doe.org>
Command> addkey
Key is protected.
You need a passphrase to unlock the secret key for
user: "Joe Doe (NetBSD) joe@doe.org"
2048-bit RSA key, ID 8385E7E3, created 2004-02-09
Enter passphrase:
Please select what kind of key you want:
(2) DSA (sign only)
(3) ElGamal (encrypt only)
(4) ElGamal (sign and encrypt)
(5) RSA (sign only)
(6) RSA (encrypt only)
Your selection? 6
What keysize do you want? (1024) 2048
Requested keysize is 2048 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct (y/n)? y
Really create? y
pub 2048R/8385E7E3 created: 2004-02-09 expires: never ...
sub 2048R/7BD27991 created: 2004-02-09 expires: never ...
(1). "Joe Doe (NetBSD) joe@doe.org"
Command> save
%
終了行:
[[研究室内専用/トップ]]
http://www.netbsd.org/developers/pgp.html からの抜粋
% gpg --gen-key
Please select what kind of key you want:
(1) DSA and ElGamal (default)
(2) DSA (sign only)
(4) ElGamal (sign and encrypt)
(5) RSA (sign only)
Your selection? 5
What keysize do you want? (1024) 2048
Requested keysize is 2048 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct (y/n)? y
You need a User-ID to identify your key; the software co...
from Real Name, Comment and Email Address in this form:
"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf...
Real name: Joe Doe
Email address: joe@doe.org
Comment: (NetBSD)
You selected this USER-ID: "Joe Doe (NetBSD) joe@doe.org"
Enter passphrase:
Repeat passphrase:
public and secret key created and signed.
key marked as ultimately trusted.
pub 2048R/8385E7E3 2004-02-09 Joe Doe (NetBSD) <joe@doe...
Key fingerprint = 9DDA CB87 9FF2 9950 1F5A 7F79 F38C E6...
Note that this key cannot be used for encryption. You m...
the command "--edit-key" to generate a secondary key for...
% gpg --edit-key 8385E7E3
Secret key is available.
gpg: checking the trustdb
gpg: checking at depth 0 signed=0 ot(-/q/n/m/f/u)=0/0/0/...
pub 2048R/8385E7E3 created: 2004-02-09 expires: never ...
(1). Joe Doe (NetBSD) <joe@doe.org>
Command> addkey
Key is protected.
You need a passphrase to unlock the secret key for
user: "Joe Doe (NetBSD) joe@doe.org"
2048-bit RSA key, ID 8385E7E3, created 2004-02-09
Enter passphrase:
Please select what kind of key you want:
(2) DSA (sign only)
(3) ElGamal (encrypt only)
(4) ElGamal (sign and encrypt)
(5) RSA (sign only)
(6) RSA (encrypt only)
Your selection? 6
What keysize do you want? (1024) 2048
Requested keysize is 2048 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct (y/n)? y
Really create? y
pub 2048R/8385E7E3 created: 2004-02-09 expires: never ...
sub 2048R/7BD27991 created: 2004-02-09 expires: never ...
(1). "Joe Doe (NetBSD) joe@doe.org"
Command> save
%
ページ名: