secret handling audit and a test that greps for known test secrets #50

Closed
opened 2026-09-15 12:41:19 +00:00 by grenade · 0 comments
Owner

Parent: #10

Scope

Every type holding a seed, mnemonic or secret key implements Zeroize on drop and a Debug that redacts; a test runs the full v1 flow with a known test mnemonic under RUST_LOG=trace and asserts the log, the app-data directory and the SQLite file contain none of the words, the seed hex or the secret key bytes.

Acceptance

The test exists, runs in CI, and fails when a Debug derive is deliberately restored on Signer.

Depends on

#17 (session), #15 (keystore).

Parent: #10 ## Scope Every type holding a seed, mnemonic or secret key implements `Zeroize` on drop and a `Debug` that redacts; a test runs the full v1 flow with a known test mnemonic under `RUST_LOG=trace` and asserts the log, the app-data directory and the SQLite file contain none of the words, the seed hex or the secret key bytes. ## Acceptance The test exists, runs in CI, and fails when a `Debug` derive is deliberately restored on `Signer`. ## Depends on #17 (session), #15 (keystore).
grenade added the child label 2026-09-15 12:42:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blackbeard/wallet#50