A successful payment test establishes that one path worked in one environment. A wallet also needs evidence about the paths where it refuses, loses a connection, restores an old file, or encounters changed data halfway through an operation.
Rockpile’s release process separates automated engineering checks from physical-device exercises and independent review. This article describes the release requirements. Completed assurance must be established by the results for a specific build.
Test the boundary, including rejection
Each protection needs tests of both acceptance and rejection. Correct recovery material should open a valid archive; the wrong key should fail. A reviewed transaction should proceed under its policy; changing that transaction should invalidate the approval.
The source includes tests aimed at these boundaries:
| Area | Behavior exercised |
|---|---|
| Encryption | Successful decryption with matching context; rejection when authenticated context changes |
| Transaction review | Decoded transfers; rejection of stale approvals, changed payloads, unexpected signers, and unresolved accounts |
| Hardware signing | Expected device identity and valid signature; rejection when either changes |
| Delivery | Confirmation of the original transaction; retained uncertainty after a submission timeout |
| Updates | Verified explicit installation; rejection of changed artifacts and automatic installation after verification failure |
| Bluetooth forwarding | Preserved signed bytes, duplicate handling, malformed frames, and interrupted delivery |
These tests make intended behavior inspectable. Their existence does not establish that the current release passed them, and passing them does not cover every possible failure. A release result must identify the code and environment actually tested.
Exercise the native application boundary
Mocking a signing service helps isolate interface behavior, but it cannot establish whether a native process handles keys correctly or whether the application bridge enforces its restrictions.
Rockpile’s local verification sequence includes native tests, JavaScript tests, renderer tests, a production renderer build, and an Electron IPC smoke test. The security drill exercises the SQLCipher broker, Recovery Kit round trips, native wallet recovery and signing, and authenticated audit behavior.
For example, an IPC test exercises the boundary between the interface and privileged application code. It can catch a request accepted from the wrong window, a failure that a test of the interface alone may miss. Signed operating-system prompts and hardware interactions need separate exercises.
Recovery needs a restoration exercise
A backup system is successful when the user can recover usable data. Creating a file and checking that it exists is insufficient.
The release standard requires a Recovery Kit restore drill. Evidence should identify the backup, the build, the environment, the expected recovery, and the observed result without exposing recovery words or private keys.
The same principle applies to chain-specific custody. Restored records and displayed balances are not enough to establish spendability. Native custody drills need to exercise recovery through the relevant transaction path, with controlled funds and explicit limits.
Real devices reveal different failures
Ledger interaction needs physical-device evidence. Bluetooth needs two signed applications on two computers, including denied permissions, interrupted radio delivery, and confirmation that the signing computer has no Internet route. A simulated transport can test protocol logic but cannot establish those physical facts.
Application distribution also needs platform-specific evidence. A development build that launches successfully does not prove that a signed installer, native helper, update, and rollback behave correctly on a clean computer.
Funded-route exercises use disposable wallets and bounded amounts. The drill’s evidence needs to identify the actions and bounded amounts tested, using disposable wallets throughout.
Bind evidence to the release
Rockpile’s assurance manifest identifies the package version, release tag, and exact Git commit. Each required control references a non-empty evidence artifact and its SHA-256 digest, together with the result, date, and reviewer.
The release scripts validate those records before packaging and bind the manifest’s digest into provenance. Required controls include recovery, hardware signing, relevant funded routes, native-platform installation, and independent security reviews.
A missing artifact, mismatched digest, or result bound to another commit must fail validation. The remaining judgment belongs to the reviewer: does the report actually demonstrate the required behavior? A correctly hashed file can still contain an incomplete test.
Independent review answers another question
Tests written by an implementation team reflect what that team thought to test. Independent cryptography review and Electron penetration testing add a separate examination of assumptions and attack paths.
Useful review evidence identifies the code revision, components examined, findings, and resolution or retest status. A reader should be able to tell whether a finding was fixed in the build being offered, rather than infer that from an “audited” label.
The standard we want a reader to apply is concrete: which boundary is protected, what evidence supports it, and where does that evidence stop? The articles on local encryption, transaction review, and update verification explain the implementation decisions that this release process must test.