You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#46 introduced opt-in external caching of the PIN by passing allow-external-password-cache to pinenetry. pinenetry-mac regrettably checks that box by default. We should find a way to disable that.
We should also document that this is supported, as it makes for a nice flow where a very complex PIN is used to tie a YubiKey Nano to the machine it's plugged in.
The text was updated successfully, but these errors were encountered:
pinentry-mac is a large GnuPG-derived dependency and it has the fairly
incorrect default of saving the PIN in the Keychain, against even the
pinentry docs. Instead, on macOS just use AppleScript.
FixesFiloSottile#93
I accidentally upgraded my yubikey-agent installation and spent quite some time trying to understand why it no longer uses the macOS Keychain. It appears that the reason is c9e9f88, which closed this issue. I am now confused by the messaging.
This issue says Keychain use should be possible as an opt-in
c9e9f88 locks Darwin into using AppleScript without any apparent Keychain support, and the commit message suggests using the Keychain is bad
c9e9f88 simultaneously adds opt-in Keychain support for !darwin builds
So is using a keychain good or bad?
@FiloSottile As a user, I'd like to have Keychain support back, and I could see if I can rig something up where yubikey-agent shells out to the macos security command. Would you be open to that?
#46 introduced opt-in external caching of the PIN by passing
allow-external-password-cache
to pinenetry. pinenetry-mac regrettably checks that box by default. We should find a way to disable that.We should also document that this is supported, as it makes for a nice flow where a very complex PIN is used to tie a YubiKey Nano to the machine it's plugged in.
The text was updated successfully, but these errors were encountered: