Re: OpenSC onepin

Jakub Jelen <[email protected]>
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <[email protected]>
On 10/04/2016 03:56 PM, [email protected] wrote:
> Hi!
>
> If I'm not mistaken, we are not exposing a virtual hotplug slot to the
> application anymore.

Yes, you are right. The master does not show this one. But as far as I 
understand to this problem is not in the virtual hotplug, but in the 
PINs of the card creating the virtual slots, isn't it?

> Slots are only created for actual readers, see
> https://github.com/OpenSC/OpenSC/blob/master/src/pkcs11/slot.c#L142. I
> reintroduced the virtual hotplug slot in
> https://github.com/OpenSC/OpenSC/pull/872, because NSS currently expects
> that, once created, a slot never disappears.
>
> Do you have a link to the one-pin-discussion?
It was internal/offline discussion, mostly theoretical (based on the 
mails, comments and issues), because I don't have any cards exposing 
more PINs in this way and that would make a difference of the both 
libraries to test.

 From the discussion, what we would like to avoid is to have two 
(basically same) libraries in the OS for several reasons (p11-kit, ...). 
The inception to make the other symlink came in the mailing list more 
than two years ago [1] without any follow up. The pursuing the solution 
without virtual slots (single PIN) sounds reasonable for most of the 
cards. But still I might miss some part of the current behavior so 
correct me if I am wrong.

[1] http://opensc.1086184.n5.nabble.com/opensc-onepin-td14433.html

Regards,

-- 
Jakub Jelen
Security Technologies
Red Hat


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.