polkit 0.93
David Zeuthen
david at fubar.dk
Mon Jul 20 17:41:31 PDT 2009
Hey,
It's time for some new releases
http://hal.freedesktop.org/releases/polkit-0.93.tar.gz
http://hal.freedesktop.org/releases/polkit-gnome-0.93.tar.bz2
http://hal.freedesktop.org/releases/eggdbus-0.5.tar.gz
See [1] for release notes.
This release features two important things
1. Local authority
I wrote about the plans for this earlier, see
http://lists.freedesktop.org/archives/polkit-devel/2009-June/000135.html
It works mostly as described except for two things
- there's no command-line tool to control this; and
- there's no D-Bus API to control this
We might want to add these things later but I didn't really see any need
to add all this complexity - the idea is that users wanting to configure
authorizations can just use the well-defined files. I wrote some fairly
extensive docs about it here
http://hal.freedesktop.org/docs/polkit/pklocalauthority.8.html
2. Temporary Authorizations
There is now a way to a) get notified about temporary authorizations;
and b) revoke temporary authorizations. The latter is currently
restricted to insofar it's an all or nothing deal (e.g. you can revoke
all or nothing). We might add API to revoke individual authorizations if
it turns out we want that. PolicyKit-gnome has support for this; the UI
is very simple; basically just a status icon
http://people.freedesktop.org/~david/polkit-tmp-authz.png
that will drop all authorizations if clicked. There is some slight API
breakage in libpolkit-gobject-1, libpolkit-agent-1 and the D-Bus
interface but nothing that mechanisms would want to use. So since we are
still in the pre-1.0 game, I didn't bump the soname.
It looks like we now have all the features needed for 1.0. The next
release will focus on security review, improving the docs and cleaning
up the code.
Thanks,
David
[1] :
--------------
PolicyKit 0.93
--------------
This is PolicyKit 0.93.
WARNING WARNING WARNING: This is a prerelease on the road to PolicyKit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.
Build requirements
glib, gobject, gio >= 2.21.4
eggdbus-1 >= 0.5
pam
Changes since PolicyKit 0.93:
David Zeuthen (16):
Post-release version bump to 0.93
GIO modules need to be prefix with lib
Cancel an authentication if the unique name for the subject vanishes
Plug a couple of memory leaks
Move local authority management to a separate library
Rip out polkit-local and refactor local authority to only use tmp authz
Move authentication agent bits to separate authority subclass
Also pass the identity of the subject we are checking for
Actually make the local authority look up authorization files
In .pkla files, use Result{Any,Inactive,Active} instead of just Result
Rename some man pages and the daemon binary
Add docs detailing how the Local Authority works
Add support for querying and revoking temporary authorizations
Fix make distcheck
Update TODO
Update NEWS for release
Yanko Kaneti (2):
Use unique ids for sections to prevent them being autogenerated
More unique ids to get the docs build fully predictable
David Zeuthen,
July 20th, 2009
==========
polkit-gnome 0.93
==========
This is polkit-gnome version 0.93.
Build requirements
polkit >= 0.93
gtk+-2.0 >= 2.17.1
Changes since 0.92:
David Zeuthen (8):
Post-release version bump to 0.93
Fix desktop file
Nuke unused stuff
Bug 584847 – Get rid of libsexy, use new GtkLabel link support
Display a status icon if we have temporary authorizations
Bug 589150 – Install autostart desktop files in /etc/xdg/autostart
Require polkit version 0.93 since the API changed slightly
Update NEWS for release
David Zeuthen,
July 20th, 2009
More information about the polkit-devel
mailing list