Re: two-factor auth enabling problem

Daniel Tameling <[email protected]>
Newsgroups gmane.os.freebsd.questions
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.