diff --git a/README.md b/README.md index 7027b42..13b77c8 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,13 @@ The same, but appending to an existing passfile: $ zbarimg -q --raw google-qrcode.png | pass otp append google/example@gmail.com ``` +By throwing [maim](https://github.com/naelstrof/maim) into the mix, you can even +create a passfile directly from a QR code displayed on screen, by selecting it: + +``` +$ maim -sk | zbarimg -q --raw - | pass otp insert totp-secret +``` + Generate a 2FA code using this token: ```