diff options
| author | Mike Vink <ivi@vinkies.net> | 2025-07-16 17:09:32 +0200 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2025-07-16 17:09:32 +0200 |
| commit | 356cc0e9b9246f523f0a7b3162a174fd6eb96218 (patch) | |
| tree | a6de587b6cf8b228157fb2d7b0c9dc976b4b155c | |
| parent | d5f779096fccab4ce9be251b59dfaa369478775d (diff) | |
add qrcode to pass script
| -rwxr-xr-x | .local/bin/otpqrcode | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/otpqrcode b/.local/bin/otpqrcode new file mode 100755 index 0000000..383bb7e --- /dev/null +++ b/.local/bin/otpqrcode @@ -0,0 +1,3 @@ +#!/bin/sh +zbarimg -q --raw "${1:?I require a qr code image file name}" | + pass otp insert "${2:?I require a pass name to store the otp secret}" |
