Damir Jelić
|
7b3dfe2f27
|
crypto: Move the device and user identities under one module.
|
2020-09-04 10:51:46 +02:00 |
|
Damir Jelić
|
8b5bb7d8c5
|
crypto: Remove the deserialize implementations for our user identity.
Deriving Serialize/Deserialize for an AtomicBool doesn't seem to be
implemented under WASM. So remove the derives for now.
|
2020-09-02 13:54:04 +02:00 |
|
Damir Jelić
|
c652762255
|
crypto: Allow user identities to be seralized/deserialized.
|
2020-09-02 11:54:04 +02:00 |
|
Damir Jelić
|
552a12eeed
|
crypto: More docs for the user identities.
|
2020-08-20 15:52:40 +02:00 |
|
Damir Jelić
|
c2ad298963
|
crypto: Check that the user ids match for the cross signing keys.
|
2020-08-20 15:40:49 +02:00 |
|
Damir Jelić
|
d908d0f817
|
crypto: Don't allow user identities to verify devices of other users.
|
2020-08-20 15:17:19 +02:00 |
|
Damir Jelić
|
9edc876160
|
crypto: Check that the master key and subkeys have the same user id.
|
2020-08-20 15:14:58 +02:00 |
|
Damir Jelić
|
398edbbe0c
|
crypto: Reset the verification state of our identity if the master keys change.
|
2020-08-20 15:13:55 +02:00 |
|
Damir Jelić
|
89b56b5af8
|
crypto: Don't expose the btree map of the master key dirrectly.
This implements PartialEq for the master key so we can check if they
have changed when doing SAS.
|
2020-08-20 15:06:49 +02:00 |
|
Damir Jelić
|
a57f63d614
|
crypto: Document the user identities.
|
2020-08-20 14:44:16 +02:00 |
|
Damir Jelić
|
1bd15b9fdd
|
crypto: Remove some unneeded clones.
|
2020-08-19 18:04:06 +02:00 |
|
Damir Jelić
|
6f5352b9a9
|
crypto: Test the signature checking of user identities.
|
2020-08-19 17:52:38 +02:00 |
|
Damir Jelić
|
3153a81cd2
|
crypto: Add support to check the cross signing verification state of a device.
|
2020-08-19 14:47:22 +02:00 |
|
Damir Jelić
|
317a141e07
|
crypto: If our own identity passed a SAS flow, mark it as verified.
|
2020-08-19 14:34:18 +02:00 |
|
Damir Jelić
|
a42af5da69
|
crypto: Let the device hold on to identities.
This makes it possible to check the verification state of the device
directly.
|
2020-08-19 10:58:14 +02:00 |
|
Damir Jelić
|
37a7f69e03
|
crypto: Implement storage for the user identities in the memory store.
|
2020-08-18 15:13:56 +02:00 |
|
Damir Jelić
|
38cf771f1f
|
crypto: Pass the identity further through the SAS layer and try to verify it.
|
2020-08-18 14:24:27 +02:00 |
|
Damir Jelić
|
f96437a242
|
crypto: Initial scaffolding for handling user identities in key queries.
|
2020-08-18 12:50:03 +02:00 |
|
Damir Jelić
|
43aea6e482
|
crypto: Rename Device to ReadOnlyDevice.
|
2020-08-17 16:17:28 +02:00 |
|
Damir Jelić
|
97ad060d4b
|
crypto: Test that we can create other users identities.
|
2020-08-14 16:18:18 +02:00 |
|
Damir Jelić
|
f4de3580b6
|
crypto: Expose the device/identity verification methods through the identities.
|
2020-08-14 15:32:44 +02:00 |
|
Damir Jelić
|
0fc5134563
|
crypto: Add methods to check if a cross signing key signed a device.
|
2020-08-14 15:06:24 +02:00 |
|
Damir Jelić
|
75fa7e97f9
|
crypto: Remove some unneeded clones.
|
2020-08-14 14:29:53 +02:00 |
|
Damir Jelić
|
d21e8213b5
|
crypto: Don't panic if the key id can't be parsed.
|
2020-08-14 14:25:51 +02:00 |
|
Damir Jelić
|
181c2a92de
|
crypto: Initial scaffolding for the public cross signing keys.
|
2020-08-14 14:10:29 +02:00 |
|