Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2026 09:11:22 +0100
From:      Daniel Tameling <tamelingdaniel@gmail.com>
To:        questions@freebsd.org
Subject:   Re: two-factor auth enabling problem
Message-ID:  <aYbzqtE88_ato1kT@mail.gmail.com>
In-Reply-To: <f704f228-02ec-41f1-b328-bf7dc7d62ba1@dreamchaser.org>

index | next in thread | previous in thread | raw e-mail

On Fri, Feb 06, 2026 at 05:23:01PM -0700, Gary Aitken wrote:
> I'm trying to log into redmine.org which I haven't done for a while, and it is asking
> me to enable 2FA:
> 
> "Scan this QR code or enter the plain text key into a TOTP app
>  (e.g. Google Authenticator, Authy, Duo Mobile) and
>  enter the code in the field below to activate two-factor authentication."
> 
> I'm not using a mobile device, don't want to touch google, and don't see authy in
> ports/security.
> 
> Looking at ports/security I found totp-cli and installed it (pkg install totp-cli),
> but it's not clear to me how to proceed.
> 
> I presume I'm supposed to somehow enter the plain text key presented by redmine.org
> and get a OTP back?
> 
> I tried
>   totp-cli instant <plain text key presented at redmine.org>
> which did nothing, didn't even exit.
> 
> Somewhat lost here... any help much appreciated
> 
> Gary
> 

I use oathtool from security/oath-toolkit:

  oathtool -b --totp 'private_key'

Keep in mind that the key is like another password. Don't share it and back it up so you don't get locked out of your account.

--
Best regards
Daniel


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aYbzqtE88_ato1kT>