dim13 / otpauth

Google Authenticator migration decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read export QR code

olfek opened this issue · comments

My backup process:

  1. Take screenshot of Google Authenticator export QR code.
  2. Use cable to move it to PC.
  3. Need to load it into program ...

IIRC it is not possible to use screenshot function on GA's export view.

Use any QR reader program of your trust on your laptop through camera. Would strongly discourage of usage of any online services, at QR code(s) contains confidential information.

Feed decoded content to the app.

IIRC it is not possible to use screenshot function on GA's export view.

It is, I did it earlier today.

Use any QR reader program of your trust on your laptop through camera

There aren't any on Windows.

I'm not an expert on windows and no devices to test it there.

Quick search reveals however a bunch of options available in official app store: https://apps.microsoft.com/store/search/qr%20reader

I meant there aren't any QR code scanning apps for Windows that I trust 😛

And the official Windows Camera app can scan QR codes, but it doesn't like the GA export QR code.

image

This is way beyond my knowledge of windows. Your QR app tries to be smart and instead of simply displaying content tries to open the link.

Anyway, maybe this will help you: https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa767914(v=vs.85)?redirectedfrom=MSDN

Register new schema by adding

HKEY_CLASSES_ROOT
   otpauth-migration
      (Default) = "URL:otpauth migration"
      URL Protocol = ""
      DefaultIcon
         (Default) = "alert.exe,1"
      shell
         open
            command
               (Default) = "C:\Program Files\Alert\alert.exe" "%1"

Or something like that.

Yeah that might work, but earlier today I moved away from GA to Aegis (https://getaegis.app), which can export as plain text, so this issue isn't an issue for me anymore, but maybe we can leave it open for others who have to:

  1. Screenshot GA export QR code.
  2. Scan QR code on mobile device.
  3. Copy migration link.
  4. Save migration link in a text file using favorite text editor app.
  5. Clear mobile clipboard.
  6. Move text file over to PC.
  7. Copy migration link from text file.
  8. Delete text file.
  9. Run this program on copied migration link.
  10. Clear PC clipboard.

HKEY_CLASSES_ROOT
otpauth-migration
(Default) = "URL:otpauth migration"
URL Protocol = ""
DefaultIcon
(Default) = "alert.exe,1"
shell
open
command
(Default) = "C:\Program Files\Alert\alert.exe" "%1"