PolicyKit agent for KDE3

David Zeuthen zeuthen at gmail.com
Tue Jun 26 07:27:19 PDT 2012


On Mon, Jun 25, 2012 at 4:42 PM, Serghei Amelian <serghei at thel.ro> wrote:
> Hello,
>
> I'm trying to create a polkit agent for KDE3, using dbus calls and
> polkit-agent-helper-1.

Two things:

1. Please don't do this - just use libpolkit-agent-1.so instead, it's
much easier and it's better if we are all using the same code.
Especially since this code is security-sensitive and involves
passwords and whatnot.

2. polkit-agent-helper-1's interface is *NOT* public - it's a private
implementation detail of libpolkit-agent-1.so. So you can't just use
it in your re-implementation. E.g. its interface *can* and *will*
change as the innards of libpolkit-agent-1.so change. So don't use it
in your re-implementation (feel free to copy-paste it, license
permitting etc.).

Make no mistake: the only stable interfaces in polkit are the D-Bus
interface and the libpolkit-gobject-1.so library (the
libpolkit-agent-1.so library is still considered unstable).

I can't force you to follow this advice and you are of course free to
re-implement and re-invent whatever code you want (and occasionally
doing so is a healthy exercise but sometimes it also isn't). But I
just don't have time to support this effort (my time is limited as I'm
working on a lot of other stuff), hope you understand.

Thanks,
David


More information about the polkit-devel mailing list