[Authentication] Application-specific keys

Michael Leupold lemma at confuego.org
Sat Sep 18 11:43:17 PDT 2010


Hi Anders,

2010/9/18 Anders Rundgren <anders.rundgren at telia.com>:
> Anyway, I want to be able to provision a key and at the same time be able
> to define what applications that have the right to use them.  The
> enforcement
> must of course be the OS.
>
> My question is really only if you have thought about this and how you
> identify
> applications?

Without having done this yet, it should be possible. If you have the
PID of the calling process on D-Bus you should be able to get
information about it using /proc (eg. the executable path). IIRC
gnome-keyring does it like that but I currently can't find the code
that does it.

Regards,
Michael


More information about the Authentication mailing list