-
- Downloads
Sign megolm messages
Add ed25519 keys to the inbound and outbound sessions, and use them to sign and verify megolm messages. We just stuff the ed25519 public key in alongside the megolm session key (and add a version byte), to save adding more boilerplate to the JS/python/etc layers.
Showing
- include/olm/error.h 5 additions, 0 deletionsinclude/olm/error.h
- include/olm/inbound_group_session.h 1 addition, 1 deletioninclude/olm/inbound_group_session.h
- include/olm/message.h 5 additions, 3 deletionsinclude/olm/message.h
- src/error.c 1 addition, 0 deletionssrc/error.c
- src/inbound_group_session.c 61 additions, 8 deletionssrc/inbound_group_session.c
- src/message.cpp 7 additions, 5 deletionssrc/message.cpp
- src/outbound_group_session.c 45 additions, 7 deletionssrc/outbound_group_session.c
- tests/test_group_session.cpp 71 additions, 3 deletionstests/test_group_session.cpp
- tests/test_message.cpp 5 additions, 4 deletionstests/test_message.cpp
Loading
Please register or sign in to comment