Skip to content
/ gauthQR Public

Generate a gauth config line from an image with QR code

Notifications You must be signed in to change notification settings

jbert/gauthQR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GauthQR

This is a tool to read an image containing QR code and output a line for the gauth.csv used by the gauth tool (https://github.com/pcarrier/gauth/).

This can be used to export OTP codes from google authenticator without root on your android device.

My phone didn't let me screenshot the exported QR code, but using another phone (or webcam) works well enough.

Usage

Save your QR code to a file (e.g. foo.png) and run:

go run cmds/gauth-qr/main.go foo.png

if all goes well, you'll have information printed to stdout which you can use in your gauth.csv file.

Dependencies

To extract the QR data, we need zbarimg to be in your path. On ubuntu:

apt install zbar-tools

TODO

  • Output rich URLs for formats which don't match the gauth short line constraints.

  • Better documentation

About

Generate a gauth config line from an image with QR code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages