Skip to content

Metadata server api for cryptpad integration #11023

@AureliaDolo

Description

@AureliaDolo

The matadata server will act as a point of synchronization for managing access to cryptpad's sessions.

Data stored:

  • session key (encrypted by workspace key)
  • workspace id
  • file id

Api

  • create_or_join_session(encrypted_session_key, workspace_id, file_id) -> encrypted_session_key:
    • if there is no active session for that file, the entry is created and the provided key is returned
    • if there is already a session the existing key is returned, the provided key can be discarded
  • TODO: session expired for the moment we can re-use the session key

Metadata

Metadata

Assignees

Labels

C-File-EditorsCategory: Collaborative Editing, where multiple users edit the same document in real-time

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions