Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some timing diagrams in the olm spec would be helpful #6

Open
richvdh opened this issue Apr 9, 2017 · 4 comments
Open

some timing diagrams in the olm spec would be helpful #6

richvdh opened this issue Apr 9, 2017 · 4 comments

Comments

@richvdh
Copy link
Member

richvdh commented Apr 9, 2017

showing how a session is established with prekey and normal messages

@penguin42
Copy link

Some things to think about including:
a) note the lifetime of the olm session - for me I hadn't realised it lasted for longer than one run of a client
b) What to do with a type !=0 m.room.encrypted - it's not that clear to me how you're supposed to find the session for that
c) Is there exactly one olm session between a pair of devices? Is it bidirectional?

@richvdh
Copy link
Member Author

richvdh commented Apr 10, 2017

technically they aren't really olm things; they are about how matrix uses olm. The matrix spec needs a whole chapter on that, which is covered under the rather loose bug matrix-org/matrix-spec-proposals#501.

@pik
Copy link

pik commented Apr 19, 2017

b) What to do with a type !=0 m.room.encrypted - it's not that clear to me how you're supposed to find the session for that

I suppose there should be a specification for re-establishing a session between devices if it is orphaned on one side. Not sure if any such strategy exists currently?

c) Is there exactly one olm session between a pair of devices? Is it bidirectional?

(https://whispersystems.org/docs/specifications/doubleratchet/#diffie-hellman-ratchet).

Was actually looking for an excuse to try Drakon, (btw is there a preferred format / tool for doing diagrams for inclusion in the docs?)
megolm

@richvdh
Copy link
Member Author

richvdh commented Apr 19, 2017

btw is there a preferred format / tool for doing diagrams for inclusion in the docs?

er, ascii art? Otherwise I don't really think so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants