From e83b79b4c2e8619f0f9622bbafc39d04eeced3f0 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 29 Jul 2021 12:45:40 +0200 Subject: [PATCH] fido2: actually drop `-v` flag Commit 2a9d70d48f4cc715a6864849cdec91ab08b6fd03 only dropped the flag on mount but not on `-init`. Also drop it on `-init`. Fixes https://github.com/rfjakob/gocryptfs/issues/571 (part II) --- internal/fido2/fido2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/fido2/fido2.go b/internal/fido2/fido2.go index 30121c0..663d65c 100644 --- a/internal/fido2/fido2.go +++ b/internal/fido2/fido2.go @@ -39,7 +39,7 @@ func callFidoCommand(command fidoCommand, device string, stdin []string) ([]stri var cmd *exec.Cmd switch command { case cred: - cmd = exec.Command("fido2-cred", "-M", "-h", "-v", device) + cmd = exec.Command("fido2-cred", "-M", "-h", device) case assert: cmd = exec.Command("fido2-assert", "-G", "-h", device) }