Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
Re: [Muscle] Perl/PKCS11 module anyone?
From: Ludovic Rousseau (ludovic.rousseaugmail.com)
Date: Wed Jan 24 2007 - 07:27:44 CST
On 24/01/07, Ph. Marek <philipp.marekbmlv.gv.at> wrote:
> I'd like a perl script like
> $my_pkcs11 = new Chipcard::PKCS11("driver.so");
> $my_pkcs11->Login($pin, LOGIN_AS_USER);
> PerlScript => PerlModule => PKCS#11-Driver => PCSCD => Card
> ^ this is what I'd like to have.
I do not know any PKCS#11 wrapper for Perl.
You have a PKCS#11 Python wrapper at  but that may not answer your
> I know that I can call pkcs11-tool, but as I'm checking via Chipcard::PCSC
> when a card is inserted, I'd have two processes going to the card - which
> might make problems, depending on interferences between the accesses.
I don't know what you do to check a card is inserted but that should
not be a problem to have multiple accesses. Just try.
> Furthermore having all PKCS11 function available in perl would be much more
> flexible, of course -- and there's the performance, too.
You are concerned about performance with a PKCS#11 smart card token? :-)
Dr. Ludovic Rousseau
Muscle mailing list