#21 fixed
Luke Le

Pinentry-mac should search the user's default keychain search list instead of only the default one.

Reported by Luke Le | March 8th, 2012 @ 05:58 PM

Hi GPGTools team,

I am using the GPGMail plugin (2.0a30) on OS X 10.7 Lion. I have a bit of an unusual keychain setup, because I use two keychains to store my credentials. (One is for per-machine credentials and one is synced between machines.)

Unfortunately, pinentry-mac seems to find the gpg password in the keychain only when it is in the default keychain. Whenever I move the keychain item to the second keychain, it is no longer found and pinentry-mac asks for the password.

Is this intended behavior or is this a bug? I think pinentry-mac should search through the entire keychain search list as configured by the user. This can be achieved by passing NULL as the first argument to SecKeychainFindGenericPassword() when looking for the credential.

From the description of SecKeychainFindGenericPassword it seems that setting NULL as first argument is the only change required.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket