Skip to content

Commit 1b3fb29

Browse files
invis-zrfjakob
authored andcommitted
Improve documentation
1 parent 4b6b955 commit 1b3fb29

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Documentation/MANPAGE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,21 @@ This option may be specified multiple times, each time it will add two
493493
arguements `-t` `OPTION` to `fido2-assert`.
494494
See `man fido2-assert` to check supported options.
495495

496+
Examples:
497+
498+
Creating a filesystem with no pin verification:
499+
500+
gocryptfs -init -fido2 DEVICE_PATH -fido2-assert-option pin=false CIPHERDIR
501+
502+
Creating a filesystem with both user presence and pin verification:
503+
504+
gocryptfs -init -fido2 DEVICE_PATH -fido2-assert-option uv=true -fido2-assert-option pin=true CIPHERDIR
505+
506+
Creating a filesystem with both user presence and user verification:
507+
508+
gocryptfs -init -fido2 DEVICE_PATH -fido2-assert-option up=true -fido2-assert-option uv=true CIPHERDIR
509+
510+
496511
#### -masterkey string
497512
Use an explicit master key specified on the command line or, if the special
498513
value "stdin" is used, read the masterkey from stdin, instead of reading

0 commit comments

Comments
 (0)