aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTad Fisher <tad@simple.com>2017-03-20 09:51:27 -0700
committerTad Fisher <tad@simple.com>2017-03-20 09:51:27 -0700
commitd9c681a8fbb70d40e14079e5f1a8b4aaee0b0d08 (patch)
tree262111fc810123e3b0123b5e19a0219a54b8639d
parent9ac7b84afb6e2f7a93d6a3ecc7dfcaa5a3c15083 (diff)
Fill out migrating documentation
-rw-r--r--README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6c0ad4d..439f62e 100644
--- a/README.md
+++ b/README.md
@@ -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
```