HowTo: Get a passcode from DUO Mobile working on the Pinephone
(02-22-2021, 12:27 PM)kop316 Wrote: Hey All,

I was forced to use Duo Mobile to use with my work, and I wanted to share a couple of experiences to help anyone else that may have this issue too. First, DUO now supports WebAuthn, I had to ask my IT department to get it to work. This will allow you to use a Yubikey (or other U2F device) on Firefox (as normally it is Chrome only). I just ordered a USB-C Yubikey as well, so I am curious to see if I can get that working on the Pinephone.

I was also successful in getting a passcode working with Gnome Authenticator, thus not needing the DUO mobile app (for those who don't have to use DUO, the "official" way to get a passcode working is to use their app, which is an Andriod/iOS app only. It does not natively support using third party apps, and I suspect that is by design). There is a python script to get it working:

You can use just the python script only you so choose, but you can also export the secret to your favorite 2fa app (like Gnome-authenticator). Use the


script to export your secret. Note that it uses HOTP, do you have to incriment it at every log in.

As a quick note, look at all of the "Data" in , and make sure they are reasonable values too. I can only assume they have those values to check them.

github url 404

Messages In This Thread
RE: HowTo: Get a passcode from DUO Mobile working on the Pinephone - by transfer76 - 01-16-2022, 03:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble building pinephone-keyboard tools 64_Tesseract 2 318 Yesterday, 02:52 AM
Last Post: 64_Tesseract
  Issues with PinePhone Pro Glenn 1 137 07-28-2022, 11:56 AM
Last Post: Airdale
  Latest firmware for PinePhone modem! Subsentient 107 80,317 07-20-2022, 05:32 AM
Last Post: zetabeta
  Article: Build a PinePhone App with Zig and zgt lupyuen 2 281 06-26-2022, 02:20 AM
Last Post: lupyuen
  Struggle to install LibreOffice on the PinePhone Peter Gamma 32 2,697 06-17-2022, 10:13 AM
Last Post: Peter Gamma
  Jami on Pinephone [ IM and VOIP ] p1trson 14 4,981 06-09-2022, 01:13 AM
Last Post: AndyM
  Pinephone: Is there a frugal distro? orbital 2 493 05-27-2022, 09:34 PM
Last Post: orbital
  Pinephone: OpenGL support? orbital 1 353 05-24-2022, 10:02 AM
Last Post: fire219
  openSUSE for Pinephone Alefnode 71 67,727 05-15-2022, 10:44 AM
Last Post: flembcke
  Slack on PinePhone Adam Seline 2 1,546 05-01-2022, 04:04 AM
Last Post: nickolas

Forum Jump:

Users browsing this thread: 1 Guest(s)