是否可以使用 macOS“钥匙串”+“TouchID”来执行 pinentry 程序?

OJF*_*ord 6 pgp gnupg openpgp macos yubikey

是否有某种配置方法pinentry-mac,我目前使用它来输入 OpenPGP 卡(Yubikey)的密码,或者使用其他程序将密码存储在 macOS“钥匙串”中,以便我只需使用“TouchID” '而不是输入它?

Jor*_*uis 5

我正在研究类似的东西(除了 Yubikey),发现 pinentry-mac 不支持 Touch ID(至少现在还不支持)。我最终pinentry-touchid围绕 pinentry-mac 编写了一个“包装器”/集成,在从 macOS 钥匙串检索密码时要求确认(通过 Touch ID)。

我目前没有 Yubikey,但pinentry-touchid使用 assuan IPC 协议与 gpg-agent 进行通信。我猜它在这种情况下也应该有效。如果出现问题,请随时提出问题。