Changes

Np1sec

211 bytes added, 7 years ago
/* Session Confirmation */
session id (DTHash), session confirmation (DTHash), next session ephemeral key (DTHash)
"session confirmation" is a hash(Session key|sender nickname), the next session ephemeral key is the 32bit 32 byte public key that the user is going to use in the next session.
===(n+1)sec in session Message Structure===
* '''authenticate and store share'''
validate the authentication token and store the sent share. If everybody is authenticated and all shares are received, compute the session key and the session confirmation and send of SESSION_CONFIRMATION message. In that case, the session state will be changed to GROUP_KEY GENERATED. Otherwise stays unchanged.
If the received PARTICIPANTS_INFO message does not corresponds to the session, it create a new session for that list in stale state. In that case, the state of the receiving session stays unchanged.
* '''confirm and may move session'''
it validate the session confirmation. If all the participant is confirmed the state will change to IN_SESSION. joiner become confirmed participant. Otherwise it does not change the state of the session.
* '''init a session with new user'''
When a confirmed participant receive this message start a new session with the joiner added to it. The state of new session will be RE_SHARED. it does not change the state of the session.
* '''init a stale session with new user'''
It creates a new session with the joiner added to it. The state of new session will be STALE. it does not change the state of the session.
= '''IX Cryptographic Primitives''' =