Build the Rust watchOS core and secure TOTP storage #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Run the Rust OTP/snapshot subset on watchOS and store transferred secrets securely on the Watch.
Scope
crates/storagesurface for Watch snapshot validation, secure-store orchestration, TOTP calculation, code timing, and view-ready records; do not clone or open a password-store repository on the Watch.unsafeand Swift contains no OTP algorithm or snapshot parser.Acceptance criteria
Implemented in
df1d493. Added the feature-gated Rust watchOS snapshot/TOTP runtime, a Watch-only UniFFI bridge, strict device-only passcode-protected Keychain persistence, lifecycle secret clearing, and ARM64 watchOS simulator/device build integration. Verified with the required formatting/check/Clippy/workspace-test gates, focused RFC 6238 and snapshot lifecycle tests, and successful ARM64 Debug watchsimulator plus Release watchos target builds. The produced binaries are ARM64. Marked untested because Apple Watch deployment and interactive Watch testing were explicitly skipped.