This is project is still in a very early development stage.
IT IS NOT READY FOR PRODUCTION!
"RSA Security Inc. Public-Key Cryptography Standards (PKCS)"
Current stable version: 2.20
I'm looking forward for version 2.40, which should support TLS 1.2.
To install this module type the following:
$ git clone https://github.com/mlarue/p5-Crypt-Cryptoki.git $ cd p5-Crypt-Cryptoki p5-Crypt-Cryptoki$ perl Build.PL p5-Crypt-Cryptoki$ ./Build p5-Crypt-Cryptoki$ ./Build test p5-Crypt-Cryptoki$ ./Build install
You can test your application with SoftHSM from the OpenDNSSEC Project.
Configuration
$ mkdir ~/.softhsm $ echo "0:$HOME/.softhsm/slot0.db" >> ~/.softhsm/softhsm.conf $ echo "export SOFTHSM_CONF=~/.softhsm/softhsm.conf" >> ~/.bashrc $ source ~/.bashrc
Initialization
$ softhsm --init-token --slot 0 --pin 1234 --so-pin 1234 --label testslot
See
$ perldoc Crypt::Cryptoki
PKCS#11 RSA http://www.emc.com/emc-plus/rsa-labs/standards-initiatives/pkcs-11-cryptographic-token-interface-standard.htm
Stable Version 2.20 ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20.pdf
PKCS#11 oasis https://www.oasis-open.org/committees/pkcs11
Public Review Draft 01, 2.40 http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/pkcs11-curr-v2.40.pdf
GNU General Public Licence (GPL)
Copyright (C) 2014 by Markus Lauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.
To install Crypt::Cryptoki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Cryptoki
CPAN shell
perl -MCPAN -e shell install Crypt::Cryptoki
For more information on module installation, please visit the detailed CPAN module installation guide.