aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinvis-z2024-03-14 08:26:20 +0000
committerrfjakob2024-04-19 22:36:55 +0200
commit1b3fb29ba4d05cc3863c1fe1a76c591a0982fc22 (patch)
treea805ed0c0e9651652ce48844cdfdc4067cc7158d
parent4b6b9553c4a2e14fd809754f6bf187957ff3cdfd (diff)
Improve documentation
-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