[Pcsclite-muscle] pcsc-lite and polkit rules in openSUSE 13.2
Wolfgang Rosenauer
wrosenauer
Fri Nov 7 00:12:29 PST 2014
Hi,
there is a bug which also is resolved. The polkit default
configuration implemented by the security team was too strict. Updates
are being prepared.
Wolfgang
On Thu, Nov 6, 2014 at 10:23 AM, Ludovic Rousseau
<ludovic.rousseau at gmail.com> wrote:
> 2014-11-06 9:18 GMT+01:00 Michael Str?der <michael at stroeder.com>:
>> HI!
>
> Hello,
>
>> After upgrading to openSUSE 13.2 accessing my USB CCID card reader though
>> pcscd does not work anymore. Seems that polkit rules are needed for this new
>> pcscd version (access as root does work).
>>
>> After doing some reading I've tried to create file
>> /usr/share/polkit-1/rules.d/org.debian.pcsc-lite.packagekit.rules (see below)
>> but it does not work.
>>
>> Any hint is appreciated.
>>
>> Ciao, Michael.
>>
>> ----------------- snip -----------------
>> polkit.addRule(function(action, subject) {
>> if (
>> action.id == "org.debian.pcsc-lite.access_pcsc" &&
>> subject.active == true &&
>> subject.local == true &&
>> subject.isInGroup("scard")
>> )
>> {
>> return polkit.Result.YES;
>> }
>> });
>>
>> polkit.addRule(function(action, subject) {
>> if (
>> action.id == "org.debian.pcsc-lite.access_card" &&
>> subject.active == true &&
>> subject.local == true &&
>> subject.isInGroup("scard")
>> )
>> {
>> return polkit.Result.YES;
>> }
>> });
>
> No idea.
> have you read doc/README.polkit?
>
> Why do openSUSE compile pcsc-lite with polkit support if is does not work?
> Maybe you should open a bug at openSUSE.
>
> Bye
>
> --
> Dr. Ludovic Rousseau
>
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
More information about the pcsclite-muscle
mailing list