Computer Security lecture notes
Copyright (C) 2009 Mark Dermot Ryan
Free use according to GPL allowed


Revision advice



Exam advice




Past exam question


The question...

3. Key certificates

     (a)   What is a certificate authority? Explain a scenario in which they are useful.  [9%]

     (b)   What is the web of trust model in PGP?  [8%]

     (c)   Alice receives an email, apparently signed using a PGP private key by Bob. She does not know Bob's public key, but she knows and has signed the public keys of Carol and Dave. Dave has signed the keys of Alice, Bob and Eve. Eve has signed Carol's and Dave's keys. Alice has "complete trust" in Dave, and "part trust" in Carol and Eve. Should Alice accept the signature on Bob's email?  Explain your answer, specifying any assumptions you make about PGP.  [8%]

     (d)   Sally has gone to the police with an email she says is from Richard, in which he threatens to kill her. Richard denies writing the email, even though it is signed with his PGP key, and plenty of Richard's friends have digitally signed Richard's key certificate confirming that it is indeed his PGP key. The police consult you in order to find out whether it can be proved beyond reasonable doubt that Richard wrote the email. Advise them.   [8%]


Answer 1



Remarks:
Mark awarded: 0/9

Answer 2



Remarks
Marks awarded: 3/9.

Answer 3



Remarks
Mark awarded: 3/9

Answer 4



Remarks
Mark awarded: 5/9.  Too generous.


Answer 5



Remarks
Mark awarded: 9/9.

Answer 6



Remarks
Mark awarded: 9/9



My answer

        (a)   What is a certificate authority? Explain a scenario in which they are useful.    [9%]

A certificate authority is an entity that issues public key certificates -- that is, digitally signed statements asserting that a certain key is the public key of a certain entity.
Remarks:

     (b)   What is the web of trust model in PGP?   [8%]

The web of trust model is a mechanism for confirming that a certain entity owns a certain public key. It works by adding up degrees of trust from several other entities.  The evidence that entity Alice has that entity Bob's public key is a certain value is computed by adding up the evidence she has about the public key of each person who has signed key certificates linking Bob to that key.

Remarks:

     (c)   Alice receives an email, apparently signed using a PGP private key by Bob. She does not know Bob's public key, but she knows and has signed the public keys of Carol and Dave. Dave has signed the keys of Alice, Bob and Eve. Eve has signed Carol's and Dave's keys. Alice has "complete trust" in Dave, and "part trust" in Carol and Eve. Should Alice accept the signature on Bob's email? Explain your answer, specifying any assumptions you make about PGP.    [8%]

Yes, Alice should accept the signature, assuming that the signature is valid. She trusts Dave completely and knows his key. Dave has signed Bob's key, so according to the rules of PGP, Alice should accept the value for Bob's key. She can use it to verify the signature on his email. If the signature is valid using Bob's public key, then she should accept it.

Remarks:

     (d)   Sally has gone to the police with an email she says is from Richard, in which he threatens to kill her. Richard denies writing the email, even though it is signed with his PGP key, and plenty of Richard's friends have digitally signed Richard's key certificate confirming that it is indeed his PGP key. The police consult you in order to find out whether it can be proved beyond reasonable doubt that Richard wrote the email. Advise them.       [8%]

Whether this evidence is sufficient or not depends on some circumstances which are not specified in the question -- e.g., whether other people could have sent the email on behalf of Richard, by using his computer while he is logged in but temporarily absent, by obtaining his private key from a disk, by coercion, etc. The police should be advised to investigate these possibilities. It is also possible that the public key is not Richard's, even though other people have signed saying it is. The police should also consider that possibility.