Moved key-compromise models into their own directory and removed key-compromise models from base protocols.
This commit is contained in:
@@ -16,25 +16,6 @@ secret k: Function;
|
||||
const Fresh: Function;
|
||||
const Compromised: Function;
|
||||
|
||||
protocol wmf^KeyCompromise(C)
|
||||
{
|
||||
// Read the names of 3 agents and disclose a session between them including
|
||||
// corresponding session key to simulate key compromise
|
||||
role C {
|
||||
const Ni,Nr: Nonce;
|
||||
const Kir: SessionKey;
|
||||
const Ti,Ts: ExpiredTimeStamp;
|
||||
var I,R,S: Agent;
|
||||
|
||||
read_!C1(C,C, I,R,S);
|
||||
send_!C2(C,C, I, {I,Ti,R,Kir}k(I,S),
|
||||
{S,Ts,I,Kir}k(R,S),
|
||||
Kir
|
||||
);
|
||||
claim_C3(C,Empty, (Compromised,Kir));
|
||||
}
|
||||
}
|
||||
|
||||
protocol wmf(I,R,S)
|
||||
{
|
||||
role I
|
||||
|
||||
Reference in New Issue
Block a user