Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only display TOTP code on click #1929

Open
du33169 opened this issue Nov 16, 2024 · 5 comments
Open

Only display TOTP code on click #1929

du33169 opened this issue Nov 16, 2024 · 5 comments
Labels

Comments

@du33169
Copy link

du33169 commented Nov 16, 2024

Is your feature request related to a problem? Please describe.
Currently, KeePassDX displays all TOTP codes after unlocking the database.
Describe the solution you'd like
Hide them by default and click to show, like most other TOTP apps.

Describe alternatives you've considered

Additional context
It might be better to use monospaced font to align TOTP codes for better visual appearance.

@J-Jamet
Copy link
Member

J-Jamet commented Nov 16, 2024

It's not an argument that other applications do a feature in a certain way. As far as I'm concerned, there's no argument for hiding TOTP code once the database is open, it just adds another step to access the information.
If you don't want to see them as soon as the database is open, you can put them in a group.

And even when you look at other TOTP applications, I don't think that's the majority.
I took TOTP application samples and just looked at the screenshots :

https://f-droid.org/en/packages/com.beemdevelopment.aegis/ NO
https://f-droid.org/en/packages/com.u2fa.secur/ NO
https://f-droid.org/en/packages/org.liberty.android.freeotpplus/ YES
https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=en NO
https://play.google.com/store/apps/details?id=com.totp.authenticator&hl=en NO
https://play.google.com/store/apps/details?id=com.authenticator.authservice2&hl=en NO

@J-Jamet J-Jamet changed the title [feature request] only display TOTP code on click Only display TOTP code on click Nov 16, 2024
@michaelschattgen
Copy link

https://f-droid.org/en/packages/com.beemdevelopment.aegis/ NO

Just chiming in to say that we do support 'Tap to reveal' / hidden codes in Aegis as shown below.

@du33169
Copy link
Author

du33169 commented Nov 16, 2024

It's not an argument that other applications do a feature in a certain way.
As far as I'm concerned, there's no argument for hiding TOTP code once the database is open, it just adds another step to access the information. If you don't want to see them as soon as the database is open, you can put them in a group.
And even when you look at other TOTP applications, I don't think that's the majority.

I apologize for the arbitrary phrase “like most other apps”, which lacks research. As far as I know, 2FAS, Ente Auth and Aegis support it.

I understand your point. I submit this feature request not simply because some other apps have it, but because I believe some users might find it useful or appealing, and I don't think I'm the only one. It doesn't need to be enabled by default if most users prefer straightforward access, offering as an option would suffice.

The point of Tap to Reveal is to restrict or minimize access, i.e., if I open the app to retrieve the TOTP code for a particular site, it should not expose the codes of others. (Device-level screen blocking is not a silver bullet.) Or, hiding them by default can also provide mental reassurance about security, at least for me.

@J-Jamet
Copy link
Member

J-Jamet commented Nov 17, 2024

That makes more sense, I agree, if clicking on the hidden TOTP allows it to be revealed and copied at the same time, and if we set a parameter to hide or not, all the needs will be met. I like that.

@J-Jamet J-Jamet added this to 5.0.0 Nov 17, 2024
@github-project-automation github-project-automation bot moved this to To do in 5.0.0 Nov 17, 2024
@cbiere
Copy link

cbiere commented Nov 20, 2024

Currently, KeePassDX displays all TOTP codes after unlocking the database.

You can actually disable that already:
Screenshot_20241120-224202

If you use the magic keyboard, like you should, it won't be revealed visually at all by KeePassDX - but most likely by the form field you enter it into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do
Development

No branches or pull requests

4 participants