diff options
| author | invis-z | 2023-11-21 18:12:01 +0000 | 
|---|---|---|
| committer | rfjakob | 2024-04-19 22:36:55 +0200 | 
| commit | 4b6b9553c4a2e14fd809754f6bf187957ff3cdfd (patch) | |
| tree | c020acb7b2ebfb6121725082ec03944c8a6aa1cd /gocryptfs-xray | |
| parent | f5007b28c366d1a9671146710975679a154f30f8 (diff) | |
Add option to set FIDO2 verificatoin option
Add an option to specify user verification options for `fido2-assert -t`
Options will be saved to config file
Provide same functionality to #705 with simpler implementation
Resolve #702
Diffstat (limited to 'gocryptfs-xray')
| -rw-r--r-- | gocryptfs-xray/xray_main.go | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/gocryptfs-xray/xray_main.go b/gocryptfs-xray/xray_main.go index 2bc98f0..1c491f1 100644 --- a/gocryptfs-xray/xray_main.go +++ b/gocryptfs-xray/xray_main.go @@ -146,7 +146,7 @@ func dumpMasterKey(fn string, fido2Path string) {  			tlog.Fatal.Printf("Masterkey encrypted using FIDO2 token; need to use the --fido2 option.")  			os.Exit(exitcodes.Usage)  		} -		pw = fido2.Secret(fido2Path, cf.FIDO2.CredentialID, cf.FIDO2.HMACSalt) +		pw = fido2.Secret(fido2Path, cf.FIDO2.AssertOptions, cf.FIDO2.CredentialID, cf.FIDO2.HMACSalt)  	} else {  		pw, err = readpassword.Once(nil, nil, "")  		if err != nil {  | 
