key stronger.
We need to generate a lot of random bytes. It ……(Deleted to save space)……public and secret key created and signed.
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: next trustdb check due at 2009-12-19
pub 1024D/96DD7072 2009-11-21 [expires: 2009-12-19]
Key fingerprint = C167 A4F5 EC41 0978 C728 9BC9 B1F0 F2E2 96DD 7072
uid Muhammad Tauseef Khan (IK2206)
sub 1024g/9D6213BB 2009-11-21 [expires: 2009-12-19]
·如何使用GPG身份—— How to handle identities in GPG
GPG allows us to add more than one identity to our key. This can be achieved by using -edit-key command and then adduid command. Whenever we edit our secret key GPG asks the passphrase to confirm the changes made.
·如何使用GPG签名密钥—— How to sign keys with GPG
In order to validate a key, it needs to be signed. A key can be validated by first using -edit command and then entering sign command for signing and trust command for assigning trust to a key, at the prompt. Following is an example.
E:\Internet Security\Labs\1>gpg --edit
gpg (GnuPG) 2.0.12; Copyright (C) 2009 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
pub 1024D/242C87B7 created: 2009-11-21 expires: 2010-01-20 usage: SC
trust: unknown validity: unknown
sub 1024g/95101577 created: 2009-11-21 expires: 2010-01-20 usage: E
[ unknown] (1). fahad (IK2206)
Command> sign
pub 1024D/242C87B7 created: 2009-11-21 expires: 2010-01-20 usage: SC
trust: unknown validity: unknown
Primary key fingerprint: 985C B4E0 1A38 9C47 6A5E 0948 611A 51E3 242C 87B7
fahad (IK2206)
This key is due to expire on 2010-01-20.
Are you sure that you want to sign this key with your
key 'Khan Muhammad Tauseef (IK2206' (96DD7072)
Really sign? (y/N) y
You need a passphrase to unlock the secret key for
user: 'Khan Muhammad Tauseef (IK2206) <>'
1024-bit DSA key, ID 96DD7072, created 2009-11-21
Command> trust
pub 1024D/242C87B7 created: 2009-11-21 expires: 2010-01-20 usage: SC
trust: unknown validity: full
sub 1024g/95101577 created: 2009-11-21 expires: 2010-01-20 usage: E
[ full ] (1). fahad (IK2206)
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
Your decision? 4 here, a trust level of “full” is assigned.
pub 1024D/242C87B7 created: 2009-11-21 expires: 2010-01-20 usage: SC
trust: full validity: full
sub 1024g/95101577 created:
本论文由英语论文网提供整理,提供论文代写,英语论文代写,代写论文,代写英语论文,代写留学生论文,代写英文论文,留学生论文代写相关核心关键词搜索。