be encrypt & sign”. Following is an example.
E:\step 10>gpg --armor --output 4step10signed.asc --sign --encrypt 4signstep10.txt
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
You did not specify a user ID. (you may use '-r')
Current recipients:
Enter the user ID. End with an empty line:
Current recipients:
1024g/9D6213BB 2009-11-21 'Muhammad Tauseef Khan (IK2206) '
Enter the user ID. End with an empty line:
gpg: B05617AA: There is no assurance this key belongs to the named user
pub 2048g/B05617AA 2009-10-19 Internet Security and Privacy
Primary key fingerprint: 00E2 5F48 4127 488C 51EC 08DE B367 D505 6C14 565D
Subkey fingerprint: 332C 0FD9 146B 75A2 7D2D 06D9 D843 960F B056 17AA
It is NOT certain that the key belongs to the person named
in the user ID. If you *really* know what you are doing,
you may answer the next question with yes.
Use this key anyway? (y/N) y
Current recipients:
2048g/B05617AA 2009-10-19 'Internet Security and Privacy'
1024g/9D6213BB 2009-11-21 'Muhammad Tauseef Khan (IK2206) '
Enter the user ID. End with an empty line:
· Examples of encrypted and signed messages
We need -decrypt command to decrypt the encrypted and signed messages. Following are few responses of decryption of different parts of message.
e:\step 10>gpg --output 11.asc --decrypt 11.txt
You need a passphrase to unlock the secret key for
user: 'Khan Muhammad Tauseef (IK2206)'
1024-bit ELG key, ID 9D6213BB, created 2009-11-21 (main key ID 96DD7072)
gpg: encrypted with 2048-bit ELG key, ID B05617AA, created 2009-10-19
'Internet Security and Privacy (Course key)'
gpg: encrypted with 1024-bit ELG key, ID 9D6213BB, created 2009-11-21
'Khan Muhammad Tauseef (IK2206)'
gpg: Signature made 11/21/09 15:59:46 W. Europe Standard Time using DSA key ID 6C14565D
gpg: Good signature from 'Internet Security and Privacy (Course key)'
gpg: aka 'Internet Security and Privacy'
gpg: aka 'Internet Security and Privacy >'
gpg: aka 'Internet Security and Privacy '
gpg: aka 'Internet Security and Privacy '
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 00E2 5F48 4127 488C 51EC 08DE B367 D505 6C14 565D
The outputted decrypted message is 3ad2e2a0b15d0e9f823c57fe44fefa2a870d30fa and following is the message that we inputted for decryption.
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.9 (GNU/Linux)
hQEOA94pXdqdYhO7EAP+OUJF1wcMLszzu6YIVcXOOKckhChdM8LKX2FCUmBIuObn
DGThocqob1L4LLhSQlvLQI2RlZ8Y+AmPYpKapOO3AWC63thDjmw3LWcYNumZHZTZ
JLJj+3cLb67kjSn3rVRunrBsEuyON3j6ARuh0e3C1qsRi8BGs/p4OfFoYTEGa7AD
/3pHj347wjRhQEYsjhihDw3UgTTpK2ntJbqXQCrQpO7QyqTQ84i+thFyrhhiSiHM
本
论文由
英语论文网提供整理,提供
论文代写,
英语论文代写,
代写论文,
代写英语论文,
代写留学生论文,
代写英文论文,
留学生论文代写相关核心关键词搜索。