diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-22 21:36:43 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-06-22 21:36:43 +0200 |
commit | 5de8d0a4bc9744327703c1613fc5ac3f232f44a8 (patch) | |
tree | fbe59e1c656658e09eca77d8649a370797ed4f1d /lib/events/stateevent.h | |
parent | f853db5acc17f0ecd4ada65320fb2c846fc1b4d0 (diff) | |
download | libquotient-5de8d0a4bc9744327703c1613fc5ac3f232f44a8.tar.gz libquotient-5de8d0a4bc9744327703c1613fc5ac3f232f44a8.zip |
Fix signature verification
toJson(SignedOneTimeKey) incorrectly generated a "signatures" key
mapped to an empty object when no signatures were in the C++ value.
Also: fallback keys have an additional flag that also has to be taken
into account when verifying signatures.
Diffstat (limited to 'lib/events/stateevent.h')
0 files changed, 0 insertions, 0 deletions