HowTo: Get a passcode from DUO Mobile working on the Pinephone
#1
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:

https://github.com/kop316/duo-cli

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

Code:
./duo_export.py

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 duo_activate.py , and make sure they are reasonable values too. I can only assume they have those values to check them.
  Reply


Messages In This Thread
HowTo: Get a passcode from DUO Mobile working on the Pinephone - by kop316 - 02-22-2021, 12:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Article: Understanding PinePhone's Display (MIPI DSI) lupyuen 2 64 10-01-2022, 05:52 PM
Last Post: lupyuen
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 20 9,795 10-01-2022, 11:53 AM
Last Post: mara
  Mepo - Minimalist and hackable OSM map viewer for mobile linux mil 21 4,866 10-01-2022, 09:31 AM
Last Post: mil
  Article: NuttX RTOS for PinePhone: Blinking the LEDs lupyuen 0 62 09-21-2022, 02:48 AM
Last Post: lupyuen
  Article: NuttX RTOS for PinePhone: UART Driver lupyuen 0 82 09-09-2022, 10:35 PM
Last Post: lupyuen
  Article: NuttX RTOS on PinePhone: Fixing the Interrupts lupyuen 0 126 08-31-2022, 07:58 PM
Last Post: lupyuen
  Trouble building (& using) pinephone-keyboard tools 64_Tesseract 6 671 08-28-2022, 09:42 PM
Last Post: 64_Tesseract
  Article: PinePhone boots Apache NuttX RTOS lupyuen 0 123 08-27-2022, 05:31 AM
Last Post: lupyuen
  Pinephone: OpenGL support? orbital 2 610 08-25-2022, 04:09 PM
Last Post: vortex
  Article: Apache NuttX RTOS on PinePhone lupyuen 0 125 08-24-2022, 06:15 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)