727e813c77
Not everything is fixed yet. However, we fixed: - 'const' -> 'fresh' - Removed lines specifying 'runs' - Removed some specifications of compromised Eve and its long-term keys being compromised.
41 lines
426 B
Plaintext
41 lines
426 B
Plaintext
/*
|
|
* Local claims
|
|
*/
|
|
|
|
// PKI infrastructure
|
|
|
|
const pk: Function;
|
|
secret sk: Function;
|
|
inversekeys (pk,sk);
|
|
|
|
// The protocol description
|
|
|
|
protocol localclaims(I,R)
|
|
{
|
|
role I
|
|
{
|
|
fresh ni: Nonce;
|
|
|
|
send_1(I,R, {ni}pk(R) );
|
|
|
|
claim_i1(I,Secret,ni);
|
|
}
|
|
|
|
role R
|
|
{
|
|
var ni: Nonce;
|
|
|
|
read_1(I,R, {ni}pk(R) );
|
|
|
|
claim_r1(R,Secret,ni);
|
|
}
|
|
}
|
|
|
|
// The agents in the system
|
|
|
|
|
|
// An untrusted agent, with leaked information
|
|
|
|
|
|
|