On 07/20/2017 10:16 AM, Kristian Fiskerstrand wrote: > What I have noticed with regards to git though, but not had time to > debug is that it seems to do something odd with regards to communicating > with the agent to begin with, and possibly spawns an own agent, at least > sufficiently confusing that for smartcard use it fail to access the card > due to locking and needing to re-insert the card.. with similar > mechanism to use it outside of git context again afterwards.
And looking into this, the issue is actually a lack of sanitation of the --homedir parameter for gpg-agent, so "$HOME/.gnupg" and "$HOME/.gnupg/" is treated as separate directories and as such two separate agents are started... reported upstream... will be nice to get rid of _that_ annoyance. -- Kristian Fiskerstrand OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
signature.asc
Description: OpenPGP digital signature