This project aims to provide a GWT-based browser chat client that allows participants to communicate through REST services with end-to-end encryption.
- Initialize cipher suite
- Try to obtain a key pair from request parameters
- If the previous step failed try to obtain a key pair from local storage
- If the previous step failed generate a new key pair
- Initialize identity
- Try to obtain identity from local storage or generate a new one
- TODO: Try to obtain identity from identity server based on public key hash. If no identity could be found at the identity server send the one stored / generated locally. Otherwise update the locally stored identity with the one received from the identity server.
- Set-up a client session
- Register handlers for conversation initiations, connection changes and server identification changes
- Start the messaging service