[Pcsclite-muscle] [PATCH] pcsc-lite & polkit: allow auth_admin
Ludovic Rousseau
ludovic.rousseau
Thu Dec 4 01:15:57 PST 2014
Hello,
2014-12-03 22:49 GMT+01:00 Stanislav Brabec <sbrabec at suse.cz>:
> Current implementation of polkit support disallows auth by
> challenge/response, effectively turning "auth_admin" present in the default
> policy to "no".
>
> Attached patch makes possible to use polkit challenge/response agent to be
> authorized.
>
> It makes possible to use pcscd in a remote session (providing admin password
> to the agent).
>
> Possible problem: If the authorization agent is present and active,
> polkit_authority_check_authorization_sync() could take a long time (the time
> of users' response). If the next request comes in the same time, it is
> postponed until the previous one is handled. (Actions done by root are not
> postponed.)
Patch applied in revision 7050.
I could not test it even build since Debian unstable only provides
polkit 0.105-8 and ./configure requires at least version 111. (I note
that Debian experimental has version 112).
Bye
--
Dr. Ludovic Rousseau
More information about the pcsclite-muscle
mailing list