Fair Exchange Protocol Flashcards
Exchange must embody ____
Non-repudiation
What is non-repudiation?
Protection against false denials and accusations.
What are the 2 types of non-repudiation?
- NRO: Recipient of message M receives proof that originator of M has sent M
- NRR: Originator of M obtains proof that recipient has received M
What is evidence?
- Information either by itself or in conjunction with other info constitutes proof about an event.
What is a Trusted Third Party? (TTP)
An entity that ensures fairness in exchange protocols by mediating disputes
What are the two types of TTP?
On-line and Off-line.
What is the key difference between On-line TTP and Off-line TTP?
- On-line: Actively particpates
- Off-line: Only intervenes in case of disputes.
Why do we use hash functions in fair exchange protocols?
To ensure message authenticity and integrity without having to reveal the message.
What is the pseudocode of Protocol 1 for On-line fair exchange?
- A -> TTP: Req
- TTP -> A: L
- A -> TTP: (L,A,B,M,EOO)
- TTP -> B:(L,A,B,H(EOO))
- B -> TTP: (L, EOR)
- TTP -> B: (L,M,EOO)
- TTP -> A: (L, EOR)
What are the notations used in Fair Exchange protocols?
L: Label used to link all messages of given execution
Req: Request for L to send certified email
EOO: SigA(A,B,M) // Evidence of Origin
EOR: SigB(A,B, H(EOO) // Evidence of Receipt
Describe the principle of Protocol 2 in On-line fair exchange protocols.
- A ‘locks’ M in Box1, and puts Key1 in Box2.
- Key1 is generated randomly
- Box2 is locked with TTPs public key
- A sends Box1, Box2 and H(M) to B
- B produces EOR on H(M) and sends it to TTP along with A’s Boxes.
- TTP opens Box1 and Box2. After checking B’s EOR, TTP sends K to B
Write the pseudocode of protocol 2 in On-line fair exchange protocols.
- A -> B: {A, B, TTP, H(M), eK(M, EOO), eVttp(K)}
- B -> TTP: {A, B, TTP, H(M), eK(M, EOO), eVttp(K), EOR}
- TTP -> B: K
- TTP -> A: EOR
What are the principles of Protocol 3?
- A generates random K only know to itself
- A sends B C = eK(M) and TTP K
- B sends EOR for C
- A sends K to TTP with EOO2 for K
- If EOO for K is correct:
1. TTP sends to A an EOR2 for K
2. TTP sends to B, K and EOO2
What is the pseudocode for Protocol 3?
- A -> B: (B, TTP, C, EOO1)
- B -> A: (EOR1)
- A -> TTP: (B, TTP, K, EOO2)
- TTP -> B: (K, EOO2)
- TTP -> A: (EOR2)
What are the 3 parts of off-line fair exchange?
Exchange, Abort, Resolve
Who can request an abort in Protocol 3?
The initiator
What is the necessary condition to request a resolve in Protocol 3?
Show that S1* has been reached.