v0.2.6-pre.004
This commit is contained in:
@@ -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:"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user