Re: OpenSC at FOSDEM 2018

Jakub Jelen <[email protected]> Tue, 09 Jan 2018 09:41:47 +0100
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
On Mon, 2018-01-08 at 18:29 +0100, NdK wrote:
> Il 08/01/2018 08:10, Frank Morgner ha scritto:
> 
> > If OpenSC is not responsive enough, have you tried enabling file
> > caching?
> 
> Uh? The bottleneck is the access to the token... But I didn't know
> file
> caching and I'll have to have a look.
> 
> > Did you disable the card drivers that you don't need?
> 
> No, I usually have to use OS supplied packages (for long term
> maintenance). Surely, on a test machine I can experiment with git
> releases, but for deployment I have to wait for the changes to arrive
> in
> the distro.

The driver selection is in configuration file so there is no need to
recompile. Just find out what driver is your card using, for example
with "opensc-tool -n" and then add it to the /etc/opensc.conf, such as
"card_drivers = PIV-II, internal;" (leaving internal in the end allows
the detection of other types, but your -- in this case PIV-II will be
the first one to detect).

Regards,
Jakub

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot