diff options
author | Tad Fisher <tad@simple.com> | 2017-03-20 09:51:27 -0700 |
---|---|---|
committer | Tad Fisher <tad@simple.com> | 2017-03-20 09:51:27 -0700 |
commit | d9c681a8fbb70d40e14079e5f1a8b4aaee0b0d08 (patch) | |
tree | 262111fc810123e3b0123b5e19a0219a54b8639d | |
parent | 9ac7b84afb6e2f7a93d6a3ecc7dfcaa5a3c15083 (diff) | |
download | pass-otp-d9c681a8fbb70d40e14079e5f1a8b4aaee0b0d08.tar.gz pass-otp-d9c681a8fbb70d40e14079e5f1a8b4aaee0b0d08.zip |
Fill out migrating documentation
-rw-r--r-- | README.md | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -49,7 +49,7 @@ Pipe an `otpauth://` URI into a passfile: $ cat totp-uri.txt | pass otp insert totp-secret ``` -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 into a passfile: ``` $ zbarimg -q --raw qrcode.png | pass otp insert totp-secret @@ -126,9 +126,17 @@ otp_digits: 6 New format: ``` -otpauth:// +otpauth://totp/totp-secret?secret=AAAAAAAAAAAAAAAA&issuer=totp-secret ``` +Note that the following default values do not need to be specified in the URI: + +| parameter | default | +| --------- | ------- | +| algorithm | sha1 | +| period | 30 | +| digits | 6 | + ## License ``` |