crypto: Add a TODO about cross signing signatures.
parent
3153a81cd2
commit
7f23cbbeb5
|
@ -278,6 +278,9 @@ impl Sas {
|
||||||
|
|
||||||
device.set_trust_state(LocalTrust::Verified);
|
device.set_trust_state(LocalTrust::Verified);
|
||||||
self.store.save_devices(&[device]).await?;
|
self.store.save_devices(&[device]).await?;
|
||||||
|
// TODO if this is a device from our own user and we have
|
||||||
|
// the private part of the self signing key, we should sign
|
||||||
|
// the device and upload the signature.
|
||||||
|
|
||||||
Ok(true)
|
Ok(true)
|
||||||
} else {
|
} else {
|
||||||
|
@ -303,7 +306,7 @@ impl Sas {
|
||||||
let device = self.other_device();
|
let device = self.other_device();
|
||||||
|
|
||||||
info!(
|
info!(
|
||||||
"The device {} {} was deleted while a interactive \
|
"The device {} {} was deleted while an interactive \
|
||||||
verification was going on.",
|
verification was going on.",
|
||||||
device.user_id(),
|
device.user_id(),
|
||||||
device.device_id()
|
device.device_id()
|
||||||
|
|
Loading…
Reference in New Issue