Skip to content
379 changes: 359 additions & 20 deletions apps/mailcraft/src/secrets.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/mailcraft/src/secrets_security_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use super::os::{self, OsStore};
fn backend() -> (OsStore, Arc<CredentialStore>) {
let mock: Arc<CredentialStore> = mock::Store::new().unwrap();
let own = mock.clone();
(OsStore::with(Box::new(move || Ok(own.clone()))), mock)
(OsStore::with_layout(Box::new(move || Ok(own.clone())), os::Layout::Pieces), mock)
}

fn entry(mock: &Arc<CredentialStore>, name: &str) -> keyring_core::Entry {
Expand Down
Loading