matrix-rust-sdk icon indicating copy to clipboard operation
matrix-rust-sdk copied to clipboard

Cross signing fails key match after several times of key mismatch

Open bitfriend opened this issue 3 months ago • 4 comments

I was testing verification. Once any device is verified, we can try verification for that device no more. Single solution is to logout that device and clear verification history. So I responded key mismatch to avoid logout in every time.

sas.mismatch().await;

I could finish handling of all events prior to SasState::Confirmed via several times of mismatch. I tried key match, but it always failed with CancelCode::KeyMismatch.

sas.confirm().await;

bitfriend avatar Mar 14 '24 17:03 bitfriend