|
|
|
@ -78,6 +78,9 @@ Privacy) {{I-D.birk-pep}}:
|
|
|
|
|
|
|
|
|
|
{::include ../shared/ascii-arts/basic-msg-flow.mkd}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Interaction States
|
|
|
|
|
|
|
|
|
|
The basic model consists of three different interaction states, i.e.:
|
|
|
|
|
|
|
|
|
|
1. Both peers have got no public key of each other, no trust possible
|
|
|
|
@ -122,6 +125,8 @@ several bilateral interactions.
|
|
|
|
|
|
|
|
|
|
# Use Cases (Functional Requirements)
|
|
|
|
|
|
|
|
|
|
This section makes use of interaction states as defined in {{interaction-states}}.
|
|
|
|
|
|
|
|
|
|
## Messages Exchange
|
|
|
|
|
|
|
|
|
|
* Peer's Public Key not available:
|
|
|
|
@ -141,21 +146,37 @@ several bilateral interactions.
|
|
|
|
|
|
|
|
|
|
* Peer's Public Key available, but not trusted:
|
|
|
|
|
* Interaction States 2b, 4, 5a
|
|
|
|
|
* Trust may be established by using fingerprints
|
|
|
|
|
* Trust may be established by using fingerprints (Note: Not part of pEp)
|
|
|
|
|
* Interaction States 4, 5a
|
|
|
|
|
* Trust may be established by using trustwords (cf. {{I-D.marques-pep-handshake}})
|
|
|
|
|
|
|
|
|
|
* Peer's Public Key available and trusted
|
|
|
|
|
* Interaction States 3b, 5b, 6
|
|
|
|
|
|
|
|
|
|
* Trust of a peer is revoked
|
|
|
|
|
* Trust rating of a peer is updated (locally) when:
|
|
|
|
|
* Public Key is received the first time
|
|
|
|
|
* Trustwords have been compared sucessfully and confirmed by user
|
|
|
|
|
* Trust of a peer is revoked
|
|
|
|
|
|
|
|
|
|
* Trust is synchronized among different devices of the same user
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Key Management
|
|
|
|
|
|
|
|
|
|
*
|
|
|
|
|
* New Key pair is generates automatically (if none found) at startup
|
|
|
|
|
|
|
|
|
|
* Private Key is synchronized among different devices of the same user
|
|
|
|
|
|
|
|
|
|
* Public Key is sent to peer by attaching it to messages
|
|
|
|
|
|
|
|
|
|
* Public Key received by a peer is stored locally
|
|
|
|
|
|
|
|
|
|
* Key pair is declared invalid and other peers are informed (key reset)
|
|
|
|
|
|
|
|
|
|
* Public Key is marked invalid after receiving a key reset message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|