Currently the app caches device path and credential ID. When you remove a key and insert a different one, it fails with "no credentials" or "tx error".
Solution:
Re-detect device on every operation instead of caching state.
Acceptance Criteria:
- User can swap keys mid-session without errors
- Each test shows fresh device detection in logs
- No persistent device state between operations
Currently the app caches device path and credential ID. When you remove a key and insert a different one, it fails with "no credentials" or "tx error".
Solution:
Re-detect device on every operation instead of caching state.
Acceptance Criteria: