PK11_CopyKey
Jernej Turnsek <[email protected]> Wed, 19 Jul 2017 13:16:45 +0200
| Newsgroups | gmane.comp.mozilla.security |
|---|---|
| Message-ID | <CAERU6eqLBw-F6B3JTqU5R9bsP6c3gdWgzEwTEXTRWwwzYrBQUQ@mail.gmail.com> |
Hi, we are using library NSS 3.30.2 with libsofthsm2.so and we came to a problem, where PK11_CopyKey (pk11obj.c) is called. Function in turn calls C_CopyObject function from libsofthsm2.so with NULL template argument, while C_CopyObject function expects valid template argument and thus returns bad argument error value. Due to this "bug" in PK11_CopyKey function mod-nss module is unable to get server certificate from SofthHSMv2 token. Any comments? Regards, Jernej