logo       

Re: Various small changes to OpenSC: msg#00225

encryption.opensc.devel

Subject: Re: Various small changes to OpenSC

Stef Hoeben wrote:


It's an alternative to sc_pkcs15_authenticate(). The limitation with
that function is that it gets the ACs from the profile file, instead of
from the real card. So if you have a card that wasn't made with
pkcs15-init, or you changed the profile file afterwards, the function
may fail.



I think it would be better to let sc_pkcs15init_authenticate use real
ACs if the are available. The only problem is that some card don't tell
us the ACs => the current profile based approach. What about a new card
capability for that and sc_pkcs15init_authenticate uses the real AC if
the card can tell us the ACs.



Hm, okay. You know by head which cards don't tell us the ACs?
(If not, I'll look into the code.)

I would add the new caps flag only to those cards which need it,
at least for now.


(BTW, what's the SVN status?)

well I've already committed something (at least I think so ;-)
so I guess it works

Nils


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise