Sign inSign up

mihaigalos/google-authenticator

By mihaigalos

•Updated over 2 years ago

Image
0

152

mihaigalos/google-authenticator repository overview

⁠google-authenticator

This container allows for setting arbitrary user, hostname and issuer in the generated QR code.

Additionally, the URL form which is encoded in QR form is also printed.

⁠Example run

$ just run foo bar bla
mkdir -p out && chmod 777 out
docker run --rm -it -v $(pwd)/out:/home/user/config docker.io/mihaigalos/google-authenticator:0.0.1 /home/user/config foo bar bla
█████████████████████████████████████████
█████████████████████████████████████████
████ ▄▄▄▄▄ █▀█ █▄▀█▀  ▀▄▀ ▀▄▀█ ▄▄▄▄▄ ████
████ █   █ █▀▀▀█ ▀▀▄ █▀▄▀▄ ▄▄█ █   █ ████
████ █▄▄▄█ █▀ █▀▀▄▀▀█▄▀▄▄  ▄██ █▄▄▄█ ████
████▄▄▄▄▄▄▄█▄▀ ▀▄█▄█▄█▄█ ▀▄▀ █▄▄▄▄▄▄▄████
████▄▄▄▄ ▀▄▄ ▄▀▄▀▄▄▄ █▀ ██▀▀▄▄▀▄█ ▀ ▀████
████▀ ▀▄  ▄▀▀█▄█▀█▀  ▄ ▀▄  ██▄▀█    █████
████  ▀▄▄▀▄█▄▄▄█▄▀█▄▀ ▀█▀▀█▀▄▄▀ ▄ ▀█▀████
█████ ▀█  ▄▀ ▄▄ ▄▄█  ▄ █▄▄█▀▀   █▀ ▄█████
████▀ ▄█ ▄▄▄▀██▄▀▀█▄ █▄▀█  ▀█▄▀█▄██▀▀████
████ ▄▀▄█ ▄▄▀▄▄█▀ ▄▄▄████▄ ▀█  ▄██ ▄█████
████▀▀█▀ ▀▄█▀▀▀█▄█▄▄    ▀▀▄ ▀▄██▄▄█ ▀████
████ █▄▀██▄  █  ▄█▀▄▄ ▀█▄█▄▀ ███ █▀ ▀████
████▄█▄▄▄▄▄▄▀ ▄▄▀▀▀▄ ▄ ▄█▄▀▀ ▄▄▄ ▀█▄ ████
████ ▄▄▄▄▄ █▄█▀█▀ ▄ ▄█▀▀█▀▄  █▄█ ▄▀▄▀████
████ █   █ █ ▄▄█▄█▄█▀▀ ▀▀ ▀▀  ▄  ▀█ ▄████
████ █▄▄▄█ █  █ ▄█▀▄▀█▀▄██ █▄█▄▀█ ▀██████
████▄▄▄▄▄▄▄█▄▄█▄███▄█▄▄██▄▄▄▄█▄██▄█▄█████
█████████████████████████████████████████
█████████████████████████████████████████

Done. QR Payload:
otpauth://totp/foo@bar?secret=XPS4XZA23FN5SWVRIH4M3JNVGQ&issuer=bla

Tag summary

Content type

Image

Digest

sha256:ce2e9a8c2…

Size

4.5 MB

Last updated

over 2 years ago

docker pull mihaigalos/google-authenticator:0.0.1