티스토리 뷰
/home/username >gpg --gen-key
gpg (GnuPG) 1.0.7; Copyright (C) 2002 Free Software Foundation,Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.
gpg: keyring `/home/username/.gnupg/secring.gpg' created
gpg: keyring `/home/username/.gnupg/pubring.gpg' created
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? Your selection? 1
What keysize do you want? (1024)
Requested keysize is 1024 bits
Please specify how long the key should be valid.
0 = key does notexpire
<n> = key expires in ndays
<n>w = key expires in n weeks
<n>m = key expires in nmonths
<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 constructsthe user id
from Real Name, Comment and Email Address in this form:
"Heinrich Heine (Der Dichter)<heinrichh@duesseldorf.de>"
Real name: username
Email address:
Comment: Iron Mountain GNU PGP 1024 RSA - Expires Never
You selected thisUSER-ID:
"username (company name GNU PGP 1024 RSA -Expires Never) <test@test.com>"
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secretkey. No passphrase needed or passphrase
We need to generate a lot of random bytes. It is a good idea toperform
some other action (type on the keyboard, move the mouse, utilizethe
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
..+++++
.....+++++
gpg: /home/username/.gnupg/trustdb.gpg: trustdb created
public and secret key created and signed.
key marked as ultimately trusted.
pub 1024R/123456F 2002-08-15 username (companyname GNU PGP1024 RSA - Expires Never) <valid e-mail address>
Key fingerprint = willbe generated
'보안' 카테고리의 다른 글
보안인증서 설치 (0) | 2010.12.27 |
---|---|
openssl 사용방법 (0) | 2010.12.27 |
JDK keytool 사용방법 (0) | 2010.12.27 |
openssl s_client 사용방법 (0) | 2010.12.27 |
- Total
- Today
- Yesterday