Implement Android Home activity and HTTPS synchronization (#97)
Android ARM verification / rust (push) Failing after 46m50s
Android ARM verification / android (push) Failing after 8s
Dependency security audit / rustsec (push) Successful in 23s

This commit is contained in:
hugo committed 2026-10-09 14:45:57 +02:00
1 parent 8c9341f214
commit 5c933a99a3
29 files changed
+2008 -110

No files matched your search

+19
View File
@@ -274,11 +274,30 @@ fn totp_cache_reuses_ciphertext_hashes_and_removes_deleted_entries() -> TestResu
);
repository.remove_entry(&EntryPath::parse("otp/alice")?)?;
assert!(
service
.cached_page(&BTreeSet::new(), &cache)
.expect("created cache")
.rows()
.iter()
.all(|row| row.path() != "otp/alice")
);
let deleted = MobileTotpOperation::default();
let mut deleted_secrets = CountingSecrets::all(&fixture);
let deleted_page =
service.discover(&BTreeSet::new(), &mut deleted_secrets, &cache, &deleted)?;
assert_eq!(deleted_secrets.requests, 0);
write_plaintext(&repository, &keys, "team-a", b"changed encrypted entry\n")?;
let retained = service
.cached_page(&BTreeSet::new(), &cache)
.expect("created cache");
assert!(retained.rows().iter().all(|row| row.path() != "team-a"));
assert!(
retained
.rows()
.iter()
.any(|row| row.path() == "team-a/shared")
);
assert!(
deleted_page
.rows()