Skip to content

2FA codes on the entry's page, behind the master password (0.8.0) - #11

Merged
usermaneGermane merged 1 commit into
mainfrom
totp-codes
Nov 7, 2026
Merged

usermaneGermane merged 1 commit into
mainfrom
totp-codes

Conversation

@usermaneGermane

Copy link
Copy Markdown
Owner

What changes

The 2FA feature from PassMan for Windows 2.10.0 (usermaneGermane/SecretSpace-Client-Windows#13), for Linux, following the same-features rule. Bumps to 0.8.0.

  • totp.py, dialogs.py, crypto_utils.py and the new tests are the Windows files unchanged. gui.py gets the same 2FA box and keeps its Linux differences.
  • Behaviour: the entry's page shows a hidden "2FA code". Show asks for the master password every time; then a live code with a countdown and Copy. Leaving the entry or locking hides it again. A bad secret is refused on save. Master-password checks compare in constant time.
  • README: the version table (2.10.0 = 0.8.0) and the features line.

Testing

  • Full suite: 357 passed, 3 skipped (the Linux-only ones, on Windows).
  • The same 13 end-to-end 2FA checks as the Windows PR, run against this Linux source: 13/13.
  • CI: pytest on 3.10/3.12/3.13, the .deb on Ubuntu 22.04 and 24.04, and the smoke screenshots.

If Windows #13 is merged first, the README's 2.10.0 row is right as it stands.

🤖 Generated with Claude Code

https://claude.ai/code/session_011ojnyVg7ccsR3pZ64s7aRH

Same as PassMan for Windows 2.10.0: totp.py (RFC 6238, plain secret or
otpauth:// link), a hidden "2FA code" box on the details card whose Show
asks for the master password every time, a countdown and Copy, hidden
again on leaving the entry or locking; a bad secret refused on save; and
constant-time master-password checks. dialogs.py, crypto_utils.py and
totp.py are the Windows files unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ojnyVg7ccsR3pZ64s7aRH
@usermaneGermane
usermaneGermane merged commit 372d276 into main Nov 7, 2026
6 checks passed
@usermaneGermane
usermaneGermane deleted the totp-codes branch November 8, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant