> No. It forces a login, if -l is specified (even if login is NOT required).
>   
Right, so I presume if I want to see whether a login is required I still 
have to use "pkcs11-tool -O" and check whether the object I am 
interested in is shown (and its 'private' flag is set). Is there another 
(more straight-forward) alternative to that?

The reason I am after this is because the 'prompt' won't be handled by 
pkcs11-tool itself, but by another application, which displays a window 
prompt (if in graphics mode) or just uses a message prompt similar to 
pkcs11-tool (if in text mode), hence why I need to know in advance 
whether login is required before executing pkcs11-tool.

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

Reply via email to