[gnutls-devel] [PATCH 0/2] PKCS #11 tests for key import and generating
jan.vcelak at nic.cz
Fri Feb 26 16:17:46 CET 2016
the following patches should cover the code from my recent submissions with
The first patch enables DSA key generating. It's basically the same as the
existing code for RSA and ECC.
The second patch adds RSA/ECC/DSA private key import into the tests. The keys
are generated with certtool first, and then imported into the token.
There is one unresolved issue with the second test. It seems that there is
a bug in the p11tool. The p11tool --write ignores the GNUTLS_PIN environment
variable. Therefore the tests will fail. I have used 'pin-value=' URI attribute
to workaround this problem when developing this test.
Again, tested with SoftHSM 2.0.
Jan Vcelak (2):
pkcs11: tests for DSA key generating
pkcs11: tests for RSA, ECC, DSA private key import
tests/suite/testpkcs11.sh | 73 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
More information about the Gnutls-devel