mkdir ~/.pgp chmod 700 ~/.pgp |
setenv PGPPATH ~/.pgp setenv PATH ${PATH}:${PGPPATH} |
PGPPATH=$HOME/.pgp; export PGPPATH PATH=$PATH:$PGPPATH; export PATH |
pgpk -g Choose the type of your public key: 1) DSS/Diffie-Hellman - New algorithm for 5.0 (default) 2) RSA Choose 1 or 2: 2 |
すると、以下のようなメッセージがでてきます。
RSAキーのサイズの長さを聞かれます。鍵は、長いほど安全性が高まりますが、
処理速度は遅くなります。ここでは、2を指定して下さい。
Pick your public/private keypair key size: 1) 768 bits- Commercial grade, probably not currently breakable 2) 1024 bits- High commercial grade, secure for many years 3) 2048 bits- "Military" grade, secure for the forseeable future Choose 1, 2 or 3, or enter desired number of bits (768 - 2048): |
You need a user ID for your public key. The desired form for this user ID is your FULL name, followed by your E-mail address enclosed in |
Enter the validity period of your key in days from 0 - 999 0 is forever (and the default): |
You need a pass phrase to protect your private key(s). Your pass phrase can be any sentence or phrase and may have many words, spaces, punctuation, or any other printable characters. Enter pass phrase: Enter again, for confirmation: Enter pass phrase: Collecting randomness for key... |
We need to generate 624 random bits. This is done by measuring the time intervals between your keystrokes. Please enter some random text on your keyboard until you hear the beep: |