Adding a 2FA (TOPT) key from GitLab should allow me to generate the right TOPT code.
The TOPT code generated does not work when trying to authenticate.
I imported the same key to the Aegis Android app and the TOTP code it gives me works.
GitLab generates a key with:
I tried the Default RFC 6238 token settings and the Use custom settings with the above values but it still does not work.
No idea.
I cannot generate TOTP for GitLab from Keepassxc, so I use an Android app instead (but I only encounter this problem with GitLab in Keepassxc).
KeePassXC - Version 2.5.2
Revision: 2cda9d
Libraries:
Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 5.4.10-arch1-1
Enabled extensions:
Check that your system time is synced
$ timedatectl
Local time: Mon 2020-01-13 12:50:38 CET
Universal time: Mon 2020-01-13 11:50:38 UTC
RTC time: Mon 2020-01-13 11:50:38
Time zone: Europe/Paris (CET, +0100)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: no
It looks like I'm not synced properly System clock synchronized: no.
After running ntpd -qg it synced back properly.
Thanks for quickly identifying my problem!
Most helpful comment
Check that your system time is synced