psanford / tpm-fido

A WebAuthn/U2F token protected by a TPM (Go/Linux)
MIT License
285 stars 17 forks source link

Add detection for missing gui pinentry #10

Closed psanford closed 1 year ago

psanford commented 1 year ago

Detect if a common gui based pin entry is available. If not print a warning and fallback to plain pinentry.

If you only have a text based pinentry, you won't see any prompt and you will likely be confused why tpm-fido isn't working.

Fixes #9