Skip to content

think-biq/gaeh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Authenticator Export Helper

Based on the efforts by Chris van Marle.

Setup

After cloning the repository, you can create a virtual environment, build and install the library via:

make prepare install-wheel

Usage

import gaeh

url = 'otpauth-migration://offline?data=CjMKFDFENjc5QzE3RTkzRTJFRTAyMkZBEgl0ZXNzZXJhY3QaCm11bHRpdmVyc2UgASgBMAIQARgBIAA%3D'
accounts = gaeh.export_otp_accounts(url)

print(accounts)

Example result:

{'version': 1, 'batch_size': 1, 'batch_index': 0, 'batch_id': 0, 'accounts': [{'key': 'GFCDMNZZIMYTORJZGNCTERKFGAZDERSB', 'name': 'tesseract', 'issuer': 'multiverse', 'algorithm': 'SHA1', 'digits': 'SIX', 'type': 'TOTP', 'counter': 0}]}

References

Checkout gabut for a comprehensive cli tool for managing google authentictor backups using gaeh.

About

Google Authenticator Export Helper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published