fido2: actually drop `-v` flag

Commit 2a9d70d48f 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)
This commit is contained in:
Jakob Unterwurzacher 2021-07-29 12:45:40 +02:00
parent 51bddd826e
commit e83b79b4c2
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}