You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Regression test for the following bug:////// - Scan your chat partner's QR Code/// - They change devices/// - Scan their QR code again////// -> The re-verification fails.#[tokio::test(flavor = "multi_thread", worker_threads = 2)]asyncfntest_verify_then_verify_again() -> Result<()>{letmut tcm = TestContextManager::new();let alice = tcm.alice().await;let bob = tcm.bob().await;enable_verified_oneonone_chats(&[&alice,&bob]).await;mark_as_verified(&alice,&bob).await;mark_as_verified(&bob,&alice).await;
alice.create_chat(&bob).await;assert_verified(&alice,&bob,ProtectionStatus::Protected).await;
tcm.section("Bob reinstalls DC");drop(bob);let bob_new = tcm.unconfigured().await;enable_verified_oneonone_chats(&[&bob_new]).await;
bob_new.configure_addr("bob@example.net").await;
e2ee::ensure_secret_key_exists(&bob_new).await?;
tcm.execute_securejoin(&bob_new,&alice).await;assert_verified(&alice,&bob_new,ProtectionStatus::Protected).await;Ok(())}
The text was updated successfully, but these errors were encountered:
This makes the CI in #4967 fail.
Minimal failing test:
The text was updated successfully, but these errors were encountered: