|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Muscle] Perl/PKCS11 module anyone?
From: Ludovic Rousseau (ludovic.rousseau
gmail.com)
Date: Wed Jan 24 2007 - 07:27:44 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 24/01/07, Ph. Marek <philipp.marek
bmlv.gv.at> wrote:
> I'd like a perl script like
> $my_pkcs11 = new Chipcard::PKCS11("driver.so");
> $my_pkcs11->Initialize();
> $my_pkcs11->Login($pin, LOGIN_AS_USER);
> $my_pkcs11->Encrypt(...);
>
>
> 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 [1] but that may not answer your
problem :-)
> 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? :-)
Bye
[1] http://www.bit4id.org/trac/pykcs11
--
Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]