Skip to content

elisey/google_auth_decoder

Repository files navigation

Google Auth data decoder

Utility for decoding Google Auth App's data

Install and use as utility

pipx install google_auth_decoder
google_auth_decoder "otpauth-migration://offline?data=CiIKCkCvO217iX16IRkS..."

Install and use as a library

Scan QR code and take the string URL. Then pass it to this utility

pip install google_auth_decoder
import google_auth_decoder
result = google_auth_decoder.decode_url("otpauth-migration://offline?data=CiIKCkCvO217iX16IRkS...")

What is otpauth-migration ?

This is a link from Google Auth App. Scan QR code and take the string URL.

Developing and testing

task format
task lint
task type
task test

or to run everything

task check

To recompile proto file run

task compile-proto

Build and publish new version

uv build
uv publish --token ...
uv run --with google_auth_decoder --no-project -- python -c "import google_auth_decoder; google_auth_decoder.decode_url('foo')"

About

Utility for decoding Google Auth App's data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages