Re: gnome-keyring PKCS#11 config file /etc/xdg/pkcs11.conf[.defaults]
- From: Stef Walter <stef-list thewalter net>
- To: Stef Walter <stefw collabora co uk>
- Cc: Dan Winship <danw gnome org>, Nikos Mavrogiannopoulos <n mavrogiannopoulos gmail com>, "gnome-keyring-list gnome org" <gnome-keyring-list gnome org>
- Subject: Re: gnome-keyring PKCS#11 config file /etc/xdg/pkcs11.conf[.defaults]
- Date: Thu, 06 Jan 2011 07:16:49 -0800
On 12/22/2010 01:02 PM, Stef Walter wrote:
> On 2010-12-22 14:42, Dan Winship wrote:
>> For GNOME, I was assuming that this information would be stored in
>> gsettings/dconf. (This is
>> https://bugzilla.gnome.org/show_bug.cgi?id=543455, although the bug was
>> originally something slightly different, and I hijacked it a bit as of
>> comment 8.)
>> Then we just rely on dconf defaults/lockdown stuff to make it so the
>> distro/admin can set things up as desired and the user can't override it
>> without root authorization.
> True, we could use gsettings/dconf for the current GNOME implementation.
> Sounds like a good plan. I guess we'd need to figure out where to
> install the schema from since it's used by multiple projects.
After trying to implement this, we figured out that it's not possible to
lock down settings for just part of dconf/gsettings on an otherwise
non-locked-down system. So we're back to a file for this.
In line with Dan's suggestion about not using /etc/xdg (unless we commit
to the whole standard) I've changed things around a bit:
The configuration files are at: /etc/pkcs11/pkcs11-options and
/etc/pkcs11/pkcs11-options.defaults. The latter is installed, and the
former contains overrides (if present).
The format still uses the 'Desktop entry' format 
Remember that we're still using the directory /usr/lib/pkcs11 for
actually enumerating the installed modules.  This config file is only
for additional options such as which slots to use for trust assertions.
This is already implemented in libgcr, so unless there are objections,
then I'll go ahead and implement this in glib-networking as well.
] [Thread Prev