gitlab OTP - Invalid authenticator code. (is something wrong?)
Devs, Today my gitlab.archlinux.org login (after providing username and password) prompts for the OTP code and always responds "Invalid authenticator code." I've not had any problems for months. Has there be a change or am I just lucky? -- David C. Rankin, J.D.,P.E.
El mié, 29-05-2024 a las 21:32 -0500, David C. Rankin escribió:
Devs,
Hi!
Today my gitlab.archlinux.org [..] or am I just lucky?
I just authenticated and it worked correctly. If you still have problems you can write to accountsupport@archlinux.org to have them take a look at your account. Greetings. -- Óscar García Amor | ogarcia at moire.org | http://ogarcia.me
On Wed, May 29, 2024 at 21:32:38 -0500, David C. Rankin wrote:
Today my gitlab.archlinux.org login (after providing username and password) prompts for the OTP code and always responds "Invalid authenticator code."
I've not had any problems for months. Has there be a change or am I just lucky?
Have you checked if the device generating the OTP has the correct time set?
On 5/30/24 14:52, Tinu Weber wrote:
On Wed, May 29, 2024 at 21:32:38 -0500, David C. Rankin wrote:
Today my gitlab.archlinux.org login (after providing username and password) prompts for the OTP code and always responds "Invalid authenticator code."
I've not had any problems for months. Has there be a change or am I just lucky?
Have you checked if the device generating the OTP has the correct time set?
Thank you Oscar and Tinu, I've used timedatectl to sync (the time didn't change), so the time was correct. I tried again after the restarting systemd-timesyncd and it failed again, same error. I've written accountsupport@archlinux.org for help and we will go from there. -- David C. Rankin, J.D.,P.E.
Hello David, As Tinu pointed you need to use an OTP authenticator (usually a program on your cell phone or on your computer) that will generate the authentication code (https://en.wikipedia.org/wiki/Multi-factor_authentication). This program is a pseudo aleatory number generator that must be synchronized with GitLab (usually through a QRCode that provides a seed to the authenticator). Excuse me if you already knew about it and is using the authenticator, but if not you could have a long time to find the solution to the problem. Regards, Armando On 30/05/2024 23:12, David C. Rankin wrote:
On 5/30/24 14:52, Tinu Weber wrote:
On Wed, May 29, 2024 at 21:32:38 -0500, David C. Rankin wrote:
Today my gitlab.archlinux.org login (after providing username and password) prompts for the OTP code and always responds "Invalid authenticator code."
I've not had any problems for months. Has there be a change or am I just lucky?
Have you checked if the device generating the OTP has the correct time set?
Thank you Oscar and Tinu,
I've used timedatectl to sync (the time didn't change), so the time was correct. I tried again after the restarting systemd-timesyncd and it failed again, same error.
I've written accountsupport@archlinux.org for help and we will go from there.
On 5/30/24 21:32, Armando M. Baratti wrote:
As Tinu pointed you need to use an OTP authenticator (usually a program on your cell phone or on your computer) that will generate the authentication code (https://en.wikipedia.org/wiki/Multi-factor_authentication).
Oh yes, I do, sorry I forgot to include that info. I use keepassxc with it's built-in OTP generator for all the OTP sites. Pretty darn handy. It shows the updated OTP code every 30 sec, and all you do is double-click the circle by the keepassxc entry to copy the OTP to the select-buffer and middle-mouse-paste into the dialog. I've tried several different OTP generators, and keepassxc is hard to beat for simplicity and convenience. (also store the OTP recovery codes in the notes section of the keepassxc entry -- so it is a one-stop-shop). Thanks for making sure I wasn't doing something really stupid. It's happened in the past... -- David C. Rankin, J.D.,P.E.
participants (4)
-
Armando M. Baratti
-
David C. Rankin
-
Tinu Weber
-
Óscar García Amor