aboutsummaryrefslogtreecommitdiff
path: root/Documentation/MANPAGE.md
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/MANPAGE.md')
-rw-r--r--Documentation/MANPAGE.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md
index 9caa359..44b2f93 100644
--- a/Documentation/MANPAGE.md
+++ b/Documentation/MANPAGE.md
@@ -493,6 +493,21 @@ This option may be specified multiple times, each time it will add two
arguements `-t` `OPTION` to `fido2-assert`.
See `man fido2-assert` to check supported options.
+Examples:
+
+Creating a filesystem with no pin verification:
+
+ gocryptfs -init -fido2 DEVICE_PATH -fido2-assert-option pin=false CIPHERDIR
+
+Creating a filesystem with both user presence and pin verification:
+
+ gocryptfs -init -fido2 DEVICE_PATH -fido2-assert-option uv=true -fido2-assert-option pin=true CIPHERDIR
+
+Creating a filesystem with both user presence and user verification:
+
+ gocryptfs -init -fido2 DEVICE_PATH -fido2-assert-option up=true -fido2-assert-option uv=true CIPHERDIR
+
+
#### -masterkey string
Use an explicit master key specified on the command line or, if the special
value "stdin" is used, read the masterkey from stdin, instead of reading