[gnutls-devel] [PATCH 0/2] PKCS #11 tests for key import and generating

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Sat Feb 27 22:38:54 CET 2016


On Fri, 2016-02-26 at 16:17 +0100, Jan Vcelak wrote:
> Hello,
> 
> the following patches should cover the code from my recent 
> submissions with
> tests.
> 
> 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.

Thank you; both applied. I don't see the failure with the PIN in master
though.





More information about the Gnutls-devel mailing list