[gnutls-help] Application Doesn't detect USB Token when started using a systemd script

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu May 18 16:52:15 CEST 2017


On Thu, May 18, 2017 at 9:56 AM, Mandar Joshi <emailmandar at gmail.com> wrote:
> Hi,
> I noticed that if I start my application using a systemd script, the
> application cannot see the USB Token. The token I am using is a
> Feitian technologies one.
> Bus 003 Device 010: ID 096e:080a Feitian Technologies, Inc.
>
> In the application, I am calling
> gnutls_pkcs11_add_provider ("/usr/lib64/opensc-pkcs11.so", NULL);
>
> Is this expected or am I doing something wrong?
>
> The same thing happens when I ssh into the Linux box which has the USB
> token connected to it.
>
> I am using Fedora 25 x86_65 with gnutls 3.5.10.

That has nothing to do with gnutls, it is rather a fedora feature
restricting access to smart cards to console users:
https://access.redhat.com/blogs/766093/posts/1976313

regards,
Nikos



More information about the Gnutls-help mailing list