Whenever I run
codesign from the command line (or a pre-existing script tries to run it) – e.g. by running
codesign -s "Local Developer" foo the following dialog appears.
Clicking 'Deny' cancels it just fine, but clicking 'Allow' or 'Always Allow' does precisely nothing. The only way to get rid of the dialog is then to click 'Deny', which is of course not what I want. What's going on here? How can I solve this problem?
N.B. There are no messages in the log (via Console.app).