7 Commits

Author SHA1 Message Date
Jonas Platte
1ceade7b61
identifiers: Add more crypto-related types
Co-authored-by: Isaiah Inuwa <isaiah.inuwa@gmail.com>
2020-12-02 13:11:28 +01:00
Jonas Platte
63678df887
identifiers: Stop rejecting unknown crypto algorithms 2020-12-02 13:11:28 +01:00
Jonas Platte
a5c08c8fde
identifiers: Refactor Error enum 2020-11-08 19:32:09 +01:00
Isaiah Inuwa
b793a790db
Rename ServerKeyId to SigningKeyId 2020-11-08 13:21:55 +01:00
Jonas Platte
22ec1710b5
Update ruma-identifiers validation logic
* Allow empty localparts
* Simplify some code
2020-09-21 22:34:56 +02:00
Amanda Graven
fdc15123b0
Reorganize encyption related code
Some types used for encryption related tasks need to be used across more
internal crates than expected, so a few have been moved and renamed for
clarity.

* Rename the key_algorithms module in ruma-identifiers-validation to crypto_algorithms
* Move ruma_events::Algorithm to ruma-identifiers-validation and rename it EventEncryptionAlgorithm
* Move DeviceKeys from ruma-client-api to ruma-common
2020-08-10 18:38:53 +02:00
Jonas Platte
1881e45eee
Move ruma-identifiers validation logic into a new crate 2020-08-04 23:23:39 +02:00