aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4832af9..2d28491 100644
--- a/README.md
+++ b/README.md
@@ -61,12 +61,18 @@ Pipe an `otpauth://` URI into a passfile:
$ pass otp insert totp-secret < totp-secret.txt
```
-Use [zbar](http://zbar.sourceforge.net/) to decode a QR image into a passfile:
+Use [zbar](http://zbar.sourceforge.net/) to decode a QR image or webcam shot into a passfile:
```
$ zbarimg -q --raw qrcode.png | pass otp insert totp-secret
```
+To use your webcam:
+
+```
+$ zbarcam -q --raw | pass otp insert totp-secret
+```
+
The same, but appending to an existing passfile:
```