Skip to content
Snippets Groups Projects
Commit 1313a813 authored by ale's avatar ale
Browse files

Add session IDs (for keystore)

A new random session ID is automatically generated whenever a user
goes through the login workflow, and it's then saved to the 'auth'
cookie.

This allows us to call keystore.Open() and keystore.Close() with this
session ID, preventing multiple users logging in from different
browsers to cobble their key storage (as implemented in keystore!32).

Instead of changing the AuthClient interface, we've opted to attach
the session ID to the Context like we do for the Auth object.
parent 5f3a1d79
No related branches found
Tags
1 merge request!75Add session IDs (for keystore)
Pipeline #45260 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment