Thursday, October 13, 2022

Re: firefox: unveil pcscd socket to make smart cards work

Le Thu, Oct 13, 2022 at 12:03:05PM +0000, Klemens Nanni a écrit :
> Besides the now complete pcscd/munlock patch on ports@, the pcscd(8)
> socket is all that is needed for smart cards to work out of the box with
> /usr/local/lib/pkcs11/opensc-pkcs11.so (and probably other modules).
>
> I didn't build a new package with this diff due to resource constraints,
> but instead just tweaked /etc/firefox/unveil.main after tracing Firefox.
>
> The ESR diff is untested but included for completeness as I'm under the
> impression hat those pledge/unveil files should stay in sync.
>
> If adding such paths is acceptable, I can test the chromiums next.
>
> Feedback? Objection? OK?

No objection from me if it works for you.

ive never used pcscd, but i suppose there are permissions to adjust for
a regular user to write to /var/run/pcscd/pcscd.comm, or any user can
write to it ?

Landry

No comments:

Post a Comment