pass with otp
Need a Microsoft or Google authenticator? No you don't.
These usually come in the form of QR codes.
1
2
3 █▀▀▀▀▀█ ▀ ▀▀▀ ▀ ▄ █▀▀▀▀▀█
4 █ ███ █ ▄▄▀▄▄▀▄▄▀ █ ███ █
5 █ ▀▀▀ █ ██ ▀▄██▀▀ █ ▀▀▀ █
6 ▀▀▀▀▀▀▀ █ █▄▀ █ █ ▀▀▀▀▀▀▀
7 █▄▄ █▄▀▀██ ▄▄▀▀▄██▀▀██ ▄▀
8 ▄██▄▀█▀█ ▀▄▀ █▀▀▀█ ▀▀▀█▄
9 ▄ ▄▄█ ▀▀ ▄▄▀▀█▄█ ▀▀ ▄▀▀█▀
10 █ ▀ ▀▀█▀▀ ▄ ▄█▀▄▀██▀█▄
11 ▀▀▀ ▀ ▀ █▄▄▀▄▀▀▄█▀▀▀█▀▀
12 █▀▀▀▀▀█ ▀▄ █▀█▀ █ ▀ █▄▄
13 █ ███ █ ▀ ▄ ▀█▄ ████▀▀█▄█
14 █ ▀▀▀ █ ▄▀ ▄ ▄▄ ██▄▄█▄█
15 ▀▀▀▀▀▀▀ ▀ ▀▀ ▀▀▀ ▀▀ ▀▀▀
16
17
Download the code, and get the information out:
1zbarimg qr.png
2otp="$(zbarimg qr.png | sed 's/QR-Code://')"
3otp_name=site.org.otp
4echo "${otp}" | pass otp add --echo "${otp_name}"
Show the OTP:
1pass otp "${otp_name}"