v0.2.6-pre.004

This commit is contained in:
2026-08-20 23:01:41 +02:00
parent 6eb4d71043
commit 76bfce17c1
22 changed files with 903 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-app-wallet-desk/tests/desktop_security.rs
// version: 1
// version: 2
//! Static desktop security contracts for the Wallet Desk pre.002 shell.
@@ -36,3 +36,13 @@ fn frontend_shell_uses_no_browser_native_dialog_or_secret_storage() {
assert!(!html.contains(forbidden), "forbidden frontend primitive {forbidden}");
}
}
#[test]
fn locked_inventory_frontend_never_receives_protected_wallet_identity_fields() {
let root = app_root();
let inventory = read_text(root.join("src/wallet_inventory.rs").as_path());
assert!(!inventory.contains("pubkey:"));
assert!(!inventory.contains("alias:"));
assert!(!inventory.contains("notes:"));
assert!(!inventory.contains("password:"));
}