Skip to content

Commit

Permalink
Print path of the fallback pinentry when using -check
Browse files Browse the repository at this point in the history
It may be useful for diagnostics to check which fallback is
pinentry-touchid going to use for requesting a password from the user.

Current upstream implementation will check the output of `gpgconf` or
directly fallback to `pinentry-mac`.
  • Loading branch information
jorgelbg committed Sep 8, 2021
1 parent 6662c46 commit 8b392a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ func main() {
os.Exit(-1)
}

fmt.Printf("%v %s fallback pinentry found\n", emoji.CheckMarkButton, pinentryBinary.GetBinary())
fmt.Printf("%v Looks good!\n", emoji.CheckMarkButton)
os.Exit(0)
}
Expand Down

0 comments on commit 8b392a0

Please sign in to comment.