1.7 KiB
1.7 KiB
title, tags, requires
| title | tags | requires | |||||
|---|---|---|---|---|---|---|---|
| pass with otp |
|
pass |
Need a Microsoft or Google authenticator? No you don't.
These usually come in the form of QR codes.
█▀▀▀▀▀█ ▀ ▀▀▀ ▀ ▄ █▀▀▀▀▀█
█ ███ █ ▄▄▀▄▄▀▄▄▀ █ ███ █
█ ▀▀▀ █ ██ ▀▄██▀▀ █ ▀▀▀ █
▀▀▀▀▀▀▀ █ █▄▀ █ █ ▀▀▀▀▀▀▀
█▄▄ █▄▀▀██ ▄▄▀▀▄██▀▀██ ▄▀
▄██▄▀█▀█ ▀▄▀ █▀▀▀█ ▀▀▀█▄
▄ ▄▄█ ▀▀ ▄▄▀▀█▄█ ▀▀ ▄▀▀█▀
█ ▀ ▀▀█▀▀ ▄ ▄█▀▄▀██▀█▄
▀▀▀ ▀ ▀ █▄▄▀▄▀▀▄█▀▀▀█▀▀
█▀▀▀▀▀█ ▀▄ █▀█▀ █ ▀ █▄▄
█ ███ █ ▀ ▄ ▀█▄ ████▀▀█▄█
█ ▀▀▀ █ ▄▀ ▄ ▄▄ ██▄▄█▄█
▀▀▀▀▀▀▀ ▀ ▀▀ ▀▀▀ ▀▀ ▀▀▀
Download the code, and get the information out:
zbarimg qr.png
otp="$(zbarimg qr.png | sed 's/QR-Code://')"
otp_name=site.org.otp
echo "${otp}" | pass otp add --echo "${otp_name}"
Show the OTP:
pass otp "${otp_name}"