summaryrefslogtreecommitdiffhomepage
path: root/src/prj/totp/zbarimg.sh.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/prj/totp/zbarimg.sh.html')
-rw-r--r--src/prj/totp/zbarimg.sh.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/prj/totp/zbarimg.sh.html b/src/prj/totp/zbarimg.sh.html
new file mode 100644
index 0000000..862eb78
--- /dev/null
+++ b/src/prj/totp/zbarimg.sh.html
@@ -0,0 +1,4 @@
+$ <span class="sh-fn">zbarimg</span> -q my-qr-code.svg <span class="sh-cmt"># Also works with jpg, png, etc.</span>
+QR-Code:otpauth://totp/GitHub:Mango0x45?secret=O1AIWMONKWVRJY4H&issuer=GitHub
+$ <span class="sh-fn">zbarimg</span> -q my-qr-code.svg | <span class="sh-fn">sed</span> s/QR-Code:// | <span class="sh-fn">totp</span> -u
+554210