From 1b3fb29ba4d05cc3863c1fe1a76c591a0982fc22 Mon Sep 17 00:00:00 2001 From: invis-z Date: Thu, 14 Mar 2024 08:26:20 +0000 Subject: Improve documentation --- Documentation/MANPAGE.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- cgit v1.2.3