Register the authenticated session’s X25519 public key for end-to-end encryption.
Stores the caller’s X25519 public key in Redis, keyed by their session ID. After registration, the WS process broadcasts aDocumentation Index
Fetch the complete documentation index at: https://docs.7331.org/llms.txt
Use this file to discover all available pages before exploring further.
portal:key_added event to all chats the user is currently joined in so other members can encrypt chat keys for them.
Authorization: Any authenticated user (session cookie required).
"registered" when a new or replaced key was stored. "unchanged" when the submitted key was identical to the one already on record for this session."unchanged" and is a no-op; re-registering with a new key overwrites the previous one and re-triggers portal:key_added.