François Leblanc wrote:
> Hi there,
>
> Does someone do commands like :
>
> pkcs11-tool -l -O
>
> It fails for me:
>
> error: PKCS11 function C_OpenSession failed: rv = CKR_TOKEN_NOT_PRESENT (0xe0)
>
> but if I do :
>
> pkcs11-tool -T
> Available slots:
> Slot 4           CEVGroup Software Reader 1
>   token label:   westcos (User PIN)
>   token manuf:   CEV
>   token model:   PKCS#15
>   token flags:   login required, PIN initialized, token initialized
>   serial num  :  0102030405060708
>   

for me the following works:

./build/bin/pkcs11-tool --module ./build/lib/opensc-pkcs11.so -T
    Available slots:
    Slot 4           OmniKey CardMan 3121 01 00
    ...
./build/bin/pkcs11-tool --module ./build/lib/opensc-pkcs11.so --slot 4 -l -O
    Please enter User PIN:
    ...


By default, should it look for the first non-empty slot?
It seemed to me that not.


>
> ????
>
> Martin,
>
> In revision 3845 you merged [3823:3844] to your "branche" before swapping it 
> to trunk
>
> but it seems that 3823 changes was not included in this merge, I've no 
> noticed other change
>
> not included.
>
> Could you have a look please.
>
>
> Regards,
> François.
> _______________________________________________
> opensc-devel mailing list
> opensc-devel@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
>   


-- 
Viktor Tarasov  <viktor.tara...@opentrust.com>

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to