summaryrefslogtreecommitdiffhomepage
path: root/src/prj/totp/zbarimg.sh.html
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-28 21:59:32 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-28 21:59:32 +0300
commit1ed0137c7143a7f0f9f6257a082f64ed8c2b5961 (patch)
tree6d66b0b1cb9a1eb8bc489e8d46f8d838293fed5e /src/prj/totp/zbarimg.sh.html
parent406f609ee81ce0f32c1fe5536d645d4283dbcb22 (diff)
Add an article on ‘totp(1)’
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