Implement OTP, clipboard and QR presentation #27
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?
Objective
Implement pass-otp, clipboard and QR presentation in the structured TUI.
Scope
:command.Acceptance criteria
Prerequisites
Structured viewer/editor; keymap; command mode; pass-otp and clipboard/QR storage APIs.
Implemented in commit
71bbff9. The TUI now exposes hotkey and colon-command OTP code, URI, insert, append, validate, clipboard, and terminal QR workflows. TOTP validity boundaries are storage-provided and repaint without extending authentication activity; HOTP requires confirmation and uses the storage-owned automatic Git counter commit. URI forms remain masked, QR presentation reports exact resize requirements, clipboard copies use the configured restore/cleanup timeout, and locking clears OTP codes, URI/QR state, queued clipboard feedback, and stale async results immediately. Review also tied async TOTP results to the exact focused field. Verified with cargo fmt --all -- --check; RUSTFLAGS=-D warnings cargo check --workspace --all-targets; cargo clippy --workspace --all-targets -- -D warnings; cargo test --workspace.