Comment 6 for bug 1928780

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2021-07-30 07:40 EDT-------
I have enhanced the opencryptoki EC testcases to perform some tests with invalid EC keys, to trigger that the key check code is executed.

Please take a look at this commit in my github clone of opencryptoki:
https://github.com/ifranzki/opencryptoki/commit/779df741f1724c9276ea90bd760f0dd4d7733fc2

Please not that some of the tests may also pass without the EC key check fix (i.e. get an expected error, but maybe from another place or for another reason in the code), but at least with the fix it will run through the EC key check code added by the fix.

I will eventually also make this testcase enhancement available in the master branch of opencryptoki, once you confirmed that it is what you are looking for.