forked from pEp.foundation/internet-drafts
parent
e068b36b25
commit
76680cf675
@ -0,0 +1,69 @@
|
||||
,-.
|
||||
`-'
|
||||
/|\
|
||||
,----------------. | ,------------------.
|
||||
|'Offerer'-Device| / \ |'Requester'-Device|
|
||||
`-------+--------' User `--------+---------'
|
||||
| | |
|
||||
| | |
|
||||
| 0. Beacon (challenge TID) |
|
||||
|<--------------------------------------------|
|
||||
| | |
|
||||
| 1. Beacon (challenge TID) |
|
||||
|-------------------------------------------->|
|
||||
| | |
|
||||
| 2. NegotiationRequest |
|
||||
|<--------------------------------------------|
|
||||
| | |
|
||||
| | 3. Display Trustwords|
|
||||
| |<- - - - - - - - - - -|
|
||||
| | |
|
||||
| 4. NegotiationOpen |
|
||||
|-------------------------------------------->|
|
||||
| | |
|
||||
| 5. Display Trustwords| |
|
||||
| - - - - - - - - - - >| |
|
||||
| | |
|
||||
| ,-----------------------------. |
|
||||
| |Handshake (user comparision | |
|
||||
| |of Trustwords) sucessfull | |
|
||||
| `-----------------------------' |
|
||||
,-----------------------------------. |
|
||||
|User presses 'Accept'-Button | |
|
||||
|on 'Requestor'-Device | |
|
||||
`-----------------------------------' |
|
||||
| | 6. Accept |
|
||||
| | - - - - - - - - - - >|
|
||||
| | |
|
||||
| 7. CommitAcceptRequester |
|
||||
|<--------------------------------------------|
|
||||
| | |
|
||||
,-----------------------------------. |
|
||||
|User presses 'Accept'-Button | |
|
||||
|on 'Offerer'-Device | |
|
||||
`-----------------------------------' |
|
||||
| 8. Accept | |
|
||||
|<- - - - - - - - - - -| |
|
||||
| | |
|
||||
| 9. CommitAcceptOfferer |
|
||||
|-------------------------------------------->|
|
||||
| | |
|
||||
| 10. OwnKeysOfferer + keys |
|
||||
|-------------------------------------------->|
|
||||
| | |
|
||||
| | ,----------------------.
|
||||
| | |Requester is Grouped |
|
||||
| | `----------------------'
|
||||
| 11. OwnKeysRequester + keys |
|
||||
|<--------------------------------------------|
|
||||
| | |
|
||||
,--------------------. | |
|
||||
|Offerer is Grouped | | |
|
||||
`--------------------' | |
|
||||
| | |
|
||||
,-------+--------. User ,--------+---------.
|
||||
|'Offerer'-Device| ,-. |'Requester'-Device|
|
||||
`----------------' `-' `------------------'
|
||||
/|\
|
||||
|
|
||||
/ \
|
@ -0,0 +1,85 @@
|
||||
,-------. ,-.
|
||||
|New | `-' ,--------. ,--------.
|
||||
|Device | /|\ |Active | |Passive |
|
||||
|to Join| | |Device | |Devices |
|
||||
|Group | / \ |in Group| |in Group|
|
||||
`---+---' User `---+----' `---+----'
|
||||
| | | |
|
||||
| | | |
|
||||
| 1. Beacon | |
|
||||
|--------------------------------->| |
|
||||
| | | |
|
||||
| | 1. Beacon | |
|
||||
|----------------------------------------------------->|
|
||||
| | | |
|
||||
| 2p. NegotiationRequest |
|
||||
|<-----------------------------------------------------|
|
||||
| | | |
|
||||
| | 3p. Display Trustwords |
|
||||
| |<- - - - - - - - - - - - - - - - - - |
|
||||
| | | |
|
||||
| |4p. NegotiationOpen |
|
||||
|----------------------------------------------------->|
|
||||
| | | |
|
||||
| 2a. NegotiationRequest | |
|
||||
|<---------------------------------| |
|
||||
| | | |
|
||||
| | 3a. Display | |
|
||||
| | Trustwords | |
|
||||
| |<- - - - - - - - | |
|
||||
| | | |
|
||||
| 4a. NegotiationOpen | |
|
||||
|--------------------------------->| |
|
||||
| | | |
|
||||
| 5. Display | | |
|
||||
| Trustwords | | |
|
||||
| - - - - - - - >| | |
|
||||
| | | |
|
||||
| ,-----------------------------. | |
|
||||
| |Handshake (user comparision | | |
|
||||
| |of Trustwords) sucessfull | | |
|
||||
| `-----------------------------' | |
|
||||
| ,------------------------------. |
|
||||
| |User presses 'Accept'-Button | |
|
||||
| |on a Device in Group | |
|
||||
| `------------------------------' |
|
||||
| | 6. Accept | |
|
||||
| | - - - - - - - ->| |
|
||||
| | | |
|
||||
| | | 7. GroupTrust |
|
||||
| | | ThisKey |
|
||||
| | |------------------>|
|
||||
| | | |
|
||||
| 8. CommitAcceptForGroup | |
|
||||
|<---------------------------------| |
|
||||
| | | |
|
||||
,------------------------------. | |
|
||||
|User presses 'Accept'-Button | | |
|
||||
|on New Device | | |
|
||||
`------------------------------' | |
|
||||
| 9. Accept | | |
|
||||
|<- - - - - - - -| | |
|
||||
| | | |
|
||||
| 10. CommitAccept | |
|
||||
|--------------------------------->| |
|
||||
| | | |
|
||||
| 11. GroupKeys + keys | |
|
||||
|<---------------------------------| |
|
||||
| | | |
|
||||
,------------. | | |
|
||||
|New Device | | | |
|
||||
|is Grouped | | | |
|
||||
`------------' | | |
|
||||
| 12. GroupKeys + keys | |
|
||||
|--------------------------------->| |
|
||||
| | | |
|
||||
| | 12. GroupKeys + keys |
|
||||
|----------------------------------------------------->|
|
||||
| | | |
|
||||
| | | |
|
||||
,---+---. User ,---+----. ,---+----.
|
||||
|New | ,-. |Active | |Passive |
|
||||
|Device | `-' |Device | |Devices |
|
||||
|to Join| /|\ |in Group| |in Group|
|
||||
|Group | | `--------' `--------'
|
||||
`-------' / \
|
@ -0,0 +1 @@
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
@ -0,0 +1 @@
|
||||
Please find more information in the following code excerpt:
|
Loading…
Reference in new issue