5 Commits

Author SHA1 Message Date
Jonas Platte
f6371bb1f2
Release ruma-signatures 0.7.0 2021-04-13 21:34:53 +02:00
Jonas Platte
953358e8ee
Release ruma-signatures 0.6.0 2021-04-01 01:30:01 +02:00
Timo Kösters
5eec262130
Fix redactions for aliases events 2021-03-13 19:39:16 +01:00
gnieto
0635b40729
Verify only the required signatures on verify_event (#394)
The spec says that the required signatures for a signed event is the
signature of sender's server (unless is a third party invite) and the
`event_id` server (in v1 and v2 room versions).

This changes the previous behaviour, which tried to verify the
signatures for all the servers in the `PublicKeyMap`, instead of
checking only the required signatures.

Relevant spec section:
https://matrix.org/docs/spec/server_server/r0.1.4#validating-hashes-and-signatures-on-received-events
2021-01-18 23:21:47 +01:00
Jonas Platte
e77de978cf
Release ruma-signatures 0.6.0-alpha.1 2021-01-02 13:44:24 +01:00