Menu

#2415 Why TimeOtp-Secret-Base32 is shown in clear in the details pane of keepass?

KeePass_2.x
closed
nobody
5
2026-02-04
2026-02-03
GilGri
No

Other protected fields correctly show as masked *****

2 Attachments

Discussion

  • Paul

    Paul - 2026-02-03

    KeePass doesn't have a TOTP wizard so it's not surprising the field is not automatically hidden.

    How was the entry created?

    cheers, Paul

     
  • GilGri

    GilGri - 2026-02-03

    Via the TOTP wizard... :)

     
  • Paul

    Paul - 2026-02-03

    Sorry, you are correct. I had forgotten where it was hiding. It's also hiding in the Help pages.

    I'd call it an oversight, not a bug. :)

    cheers, Paul

     
  • GilGri

    GilGri - 2026-02-04

    Rather a serious security concern with all those M$ crappy screen-scrapers AI bloatware and office shouldersurfing!

     
  • Paul

    Paul - 2026-02-04

    Only if they manage to get your user/pass as well. If they have you have more to worry about than one TOTP secret.

    cheers, Paul

     
  • GilGri

    GilGri - 2026-02-04

    Agree... however, the point is:

    • Is this 'oversight' just me or it's a confirmed general inconsistency, whereas other fields masking works properly?
    • Is it going to be fixed, sooner or later?
      Not sure if the Dev team is one man band Dominik who's supposed to make the call.
      Thanks for the feedback, Paul.
     
  • Paul

    Paul - 2026-02-04

    I tested it on my reasonably standard test copy and the secret field value was automatically hidden.

    Will do some more testing tomorrow.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2026-02-04
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2026-02-04

    The 'OTP Generator Settings' dialog does activate the protection of the 'TimeOtp-Secret-Base32' field, and such fields are hidden in the details view by default.

    My guess is that you have configured KeePass to display a 'TimeOtp-Secret-Base32' column in the main entry list without asterisks (this causes 'TimeOtp-Secret-Base32' values to be displayed in the details view without asterisks, too). You can check it in 'View' → 'Configure Columns'.

    Best regards,
    Dominik

     
    • GilGri

      GilGri - 2026-02-04

      This is probably the reason...
      I need to know which entries in the list have TOTP/2FA.
      The column is there for this reason and width reduced to a bare minimum (obviously): few initial characters.
      If I set that column to display with asterisks, then all entries, even the ones with no TOTP/2FA show asterisks and I lose that kind of visibility.

       
  • Dominik Reichl

    Dominik Reichl - 2026-02-04

    I'd suggest:

    1. Activate asterisks for the 'TimeOtp-Secret-Base32' column (in 'View' → 'Configure Columns').
    2. Activate the option 'Unhide empty data' (in 'Tools' → 'Options' → tab 'Advanced').

    With this, you can see which entries have a 'TimeOtp-Secret-Base32' value, and the values are hidden by asterisks.

    Best regards,
    Dominik

     
    • GilGri

      GilGri - 2026-02-04

      You the man, brother!

       

Log in to post a comment.

MongoDB Logo MongoDB