sequences update and async crypto keys optimization
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
@startuml Server Invitation Step 01
|
||||
Bob -> MeowBob: Create invitation for alice (Generate Bob ContactCard and create Alice pending contact)
|
||||
Bob -> Alice: Send invitation (Bob ContactCard)
|
||||
Alice -> MeowAlice: Accept Invitation and create answer (Generate Alice ContactCard and create finalized Bob contact)
|
||||
Alice -> Bob: Send answer (Alice ContactCard)
|
||||
Bob -> MeowBob: Review Answer, invitation finalize (Finalize Alice contact and notify Alice that communication is possible)
|
||||
@startuml General Invitation Steps
|
||||
InitiatingUser -> InvitedUser: STEP_1=InitiatingUser_TmpId generate a public key, invitation uid & message for InvitedUser optionnally password protected
|
||||
InvitedUser -> InitiatingUser: STEP_2=InvitedUser_Id Create invitation for alice (Generate InvitedUser ContactCard and create InitiatingUser pending contact)
|
||||
InitiatingUser -> InvitedUser: STEP_3=InitiatingUser_Id Accept Invitation and create answer (Generate InitiatingUser ContactCard and create finalized InvitedUser contact)
|
||||
InvitedUser -> InitiatingUser: STEP_4=InvitedUser_OK Review Answer, invitation finalize (Finalize InitiatingUser contact and notify InitiatingUser that communication is possible)
|
||||
@enduml
|
||||
9
doc/invitation/sq_invitation_calls.puml
Normal file
9
doc/invitation/sq_invitation_calls.puml
Normal file
@@ -0,0 +1,9 @@
|
||||
@startuml Detailled Invitation Steps
|
||||
InitiatingUser -> MeowInitiatingUser: STEP 1 generate a public key & message for InvitedUser optionnally password protected
|
||||
InitiatingUser -> InvitedUser: send public key
|
||||
InvitedUser -> MeowInvitedUser: STEP 2 Create invitation for alice (Generate InvitedUser ContactCard and create InitiatingUser pending contact)
|
||||
InvitedUser -> InitiatingUser: Send invitation (InvitedUser ContactCard encrypted with InitiatingUser public key)
|
||||
InitiatingUser -> MeowInitiatingUser: STEP 3 Accept Invitation and create answer (Generate InitiatingUser ContactCard and create finalized InvitedUser contact)
|
||||
InitiatingUser -> InvitedUser: Send answer (InitiatingUser ContactCard)
|
||||
InvitedUser -> MeowInvitedUser: STEP 4 Review Answer, invitation finalize (Finalize InitiatingUser contact and notify InitiatingUser that communication is possible)
|
||||
@enduml
|
||||
14
doc/invitation/sq_server_invitation.puml
Normal file
14
doc/invitation/sq_server_invitation.puml
Normal file
@@ -0,0 +1,14 @@
|
||||
@startuml General Server Invitation Steps
|
||||
InitiatingUser -> InitiatingUser: STEP_1.1 Create STEP_1_data=InitiatingUser_TmpId (public key & message for InvitedUser optionnally passwords (url & payload) protected)
|
||||
InitiatingUser -> Server: STEP_1.2 Send STEP_1_data to server
|
||||
Server -> InvitedUser: STEP_1.3 Get STEP_1_data from server
|
||||
InvitedUser -> InvitedUser: STEP_2.1 Create STEP_2_data=InvitedUser_Id for InitiatingUser (Generate InvitedUser ContactCard and create InitiatingUser pending contact)
|
||||
InvitedUser -> Server: STEP_2.1 Send STEP_2_data to server
|
||||
Server -> InitiatingUser: STEP_2.3 Get STEP_2_data from server
|
||||
InitiatingUser -> InitiatingUser: STEP_3 Create STEP_3_data=InitiatingUser_Id (Generate InitiatingUser ContactCard and create finalized InvitedUser contact)
|
||||
InitiatingUser -> Server: STEP_3.1 Send STEP_3_data to server
|
||||
Server -> InvitedUser: STEP_3.3 Get STEP_3_data from server
|
||||
InvitedUser -> InvitedUser: STEP_4 Create STEP_4_data=InvitedUser_OK Review Answer, invitation finalize (Finalize InitiatingUser contact and notify InitiatingUser that communication is possible)
|
||||
InvitedUser -> Server: STEP_4.1 Send STEP_4_data to server
|
||||
Server -> InitiatingUser: STEP_4.3 Get STEP_4_data from server
|
||||
@enduml
|
||||
15
doc/invitation/sq_srvinv00.puml
Normal file
15
doc/invitation/sq_srvinv00.puml
Normal file
@@ -0,0 +1,15 @@
|
||||
@startuml Server Invitation Step 00
|
||||
InitiatingUser -> Bastet : contact name
|
||||
InitiatingUser -> Bastet : invitationMessage
|
||||
InitiatingUser -> Bastet : select invitation server
|
||||
InitiatingUser -> Bastet : optional password
|
||||
Bastet -> NativeLib : send invitation
|
||||
NativeLib -> NativeLib : create contact and invtation KP
|
||||
NativeLib -> Server : send invitation
|
||||
Server -> Server : create invtation URL
|
||||
Server -> Redis : store InitiatingUser pub key and message/pwd
|
||||
Server -> NativeLib : invitation URL
|
||||
NativeLib -> Bastet : invitation URL
|
||||
Bastet -> InitiatingUser : invitation URL
|
||||
InitiatingUser -> InvitedUser : invitation URL
|
||||
@enduml
|
||||
@@ -1,12 +1,11 @@
|
||||
@startuml Server Invitation Step 01
|
||||
User -> Bastet : fill invitation
|
||||
User -> Bastet : select servers
|
||||
InvitedUser -> Bastet : provide invitation URL
|
||||
Bastet -> NativeLib : GET InitiatingUser pub key and message
|
||||
InvitedUser -> Bastet : fill invitation
|
||||
InvitedUser -> Bastet : select servers
|
||||
Bastet -> NativeLib : get server cards for selected uids
|
||||
NativeLib -> Bastet : server cards
|
||||
Bastet -> NativeLib : invitationCreateMessage
|
||||
NativeLib -> Bastet : invitationMessage
|
||||
Bastet -> Server : send invitation
|
||||
Server -> Redis : Store invitation
|
||||
Server -> Bastet : invitation URL
|
||||
Bastet -> User : invitation URL
|
||||
Bastet -> NativeLib : invitation data & InitiatingUser pub key
|
||||
NativeLib -> Server : POST encrypted invitation
|
||||
Server -> Redis : Store invitation data
|
||||
@enduml
|
||||
Reference in New Issue
Block a user