keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.61k stars 1.43k forks source link

KeepassXC shows wrong TOTP #10807

Closed JonatanWick closed 3 months ago

JonatanWick commented 3 months ago

Overview

NOTE: # TOTP has changed and is no longer the same as on my phone

Steps to Reproduce

  1. Configure/Add TOTP to a post from mobile app using the secret key
  2. Save it and then choose to show TOTP
  3. It doesn't show the same TOTP as the mobile app and the TOTP shown in KeepassXC doesn't work anymore. Weirdly it worked before but then it stopped working.

Expected Behavior

TOTP on KeepassXC and the mobile app to show the same code and both would work.

Actual Behavior

KeepassXC does not show the same TOTP as the mobile app and the TOTP shown in KeepassXC no longer works. Only the TOTP on the mobile app works. Weirdly it worked right after I had added it to KeepassXC but then it stopped working. I have checked that the secret key in KeepassXC is the same as in the mobile app.

Context

I am using Debian GNU/Linux 12 (bookworm) and using KeepassXC that comes with Debian.

KeePassXC - 2.7.4 Revision: REVISION

Operating System: Linux Desktop Env: Gnome Windowing System: Wayland

droidmonkey commented 3 months ago

Sync your computer time

JonatanWick commented 3 months ago

@droidmonkey What do you mean? It is already synced?

droidmonkey commented 3 months ago

It definitely isn't, you are at least 30 seconds off

JonatanWick commented 3 months ago

@droidmonkey You are right, it was set manually and after I synced it worked. Thank you!