GNOME Bugzilla – Bug 602914
Whitelist some directories for the ask dialog
Last modified: 2010-02-07 19:05:00 UTC
Created attachment 148433 [details] [review] Whitelist /usr/lib/ and /usr/bin/ The ask dialog can get very annoying at times, asking whether this or that binary should be allowed to access the keyring. Some distributions choose to drop the dialog entirely. In Debian we opted for a simple yet functional approach: whitelist every program installed under /usr/bin/ and /usr/lib/ (note that there is no libexec in Debian, other distributions might want to add it). The patch is probably not suitable as is for committing, but it might give you some ideas on how to improve the situation.
The ACL code no longer exists in gnome-keyring as of 2.29.x. BTW, the fix you describe above demonstrates why such path based ACLs don't work at all: Any application run via python, java, mono, ruby or any other interpreter will be whitelisted.