Lecture7 PGP
Lecture7 PGP
Summary
• Overview
– Characteristics – Reasons for Growth.
• Operational Description – Services
Authentication – Confidentiality – Authentication and
Confidentiality – Compression – E-Mail Compatibility –
Compression and Reassembly.
• Cryptographic Keys
– Session Key Generation – Key Identifiers – General Format of
PGP Message – Key Rings.
• Public Key Management
– Use of Trust – Trust Flag Byte – Revocation of Public Keys.
1
11/29/2022
PGP Overview
PGP Overview
2
11/29/2022
PGP Characteristics
3
11/29/2022
4
11/29/2022
PGP Authentication
PGP Authentication
10
5
11/29/2022
PGP Authentication
PGP Confidentiality
12
6
11/29/2022
PGP Confidentiality
PGP Confidentiality
14
7
11/29/2022
15
8
11/29/2022
PGP Compression
17
PGP Compression
18
9
11/29/2022
19
20
10
11/29/2022
21
22
11
11/29/2022
23
PGP Example 1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Carol.
/kess
iQA/AwUBNFUdO5WOcz5SFtuEEQJx/ACaAgR97+vvDU6XWELV/GANjAAgBtUAnjG3
Sdfw2JgmZIOLNjFe7jP0Y8/M =jUAU
-----END PGP SIGNATURE-----
• A PGP signed message. This message will not be kept secret from an
eavesdropper, but a recipient can be assured that the message has not been
altered from what the sender transmitted. The sender signs the message
using their own private key. The receiver uses the sender's public key to
verify the signature.
24
12
11/29/2022
PGP Example 2
-----BEGIN PGP MESSAGE-----
Version: PGP for Personal Privacy 5.0
MessageID: DAdVB3wzpBr3YRunZwYvhK5gBKBXOb/m
qANQR1DBwU4D/TlT68XXuiUQCADfj2o4b4aFYBcWumA7hR1Wvz9rbv2BR6WbEUsy
ZBIEFtjyqCd96qF38sp9IQiJIKlNaZfx2GLRWikPZwchUXxB+AA5+lqsG/ELBvRa
c9XefaYpbbAZ6z6LkOQ+eE0XASe7aEEPfdxvZZT37dVyiyxuBBRYNLN8Bphdr2zv
z/9Ak4/OLnLiJRk05/2UNE5Z0a+3lcvITMmfGajvRhkXqocavPOKiin3hv7+Vx88
uLLem2/fQHZhGcQvkqZVqXx8SmNw5gzuvwjV1WHj9muDGBY0MkjiZIRI7azWnoU9
3KCnmpR60VO4rDRAS5uGl9fioSvze+q8XqxubaNsgdKkoD+tB/4u4c4tznLfw1L2
YBS+dzFDw5desMFSo7JkecAS4NB9jAu9K+f7PTAsesCBNETDd49BTOFFTWWavAfE
gLYcPrcn4s3EriUgvL3OzPR4P1chNu6sa3ZJkTBbriDoA3VpnqG3hxqfNyOlqAka
mJJuQ53Ob9ThaFH8YcE/VqUFdw+bQtrAJ6NpjIxi/x0FfOInhC/bBw7pDLXBFNaX
HdlLQRPQdrmnWskKznOSarxq4GjpRTQo4hpCRJJ5aU7tZO9HPTZXFG6iRIT0wa47
AR5nvkEKoIAjW5HaDKiJriuWLdtN4OXecWvxFsjR32ebz76U8aLpAK87GZEyTzBx
dV+lH0hwyT/y1cZQ/E5USePP4oKWF4uqquPee1OPeFMBo4CvuGyhZXD/18Ft/53Y
WIebvdiCqsOoabK3jEfdGExce63zDI0=
=MpRf
-----END PGP MESSAGE-----
25
27
13
11/29/2022
Key requirements:
1. A means of generating unpredictable session keys.
2. Allow multiple public key/private key pairs per user.
• User may wish to change key pair from time to time.
• User may have multiple key pairs to interact with different
groups of correspondents to enhance security.
3. Each PGP entity must maintain a file of its own
public/private key pairs as well as a file of public keys
of correspondents.
28
29
14
11/29/2022
31
15
11/29/2022
32
33
16
11/29/2022
34
35
17
11/29/2022
36
37
18
11/29/2022
38
39
19
11/29/2022
40
41
20
11/29/2022
42
43
21
11/29/2022
44
45
22
11/29/2022
47
23
11/29/2022
49
24
11/29/2022
References
50
25