Nss Sample Code sample6

Has anyone tried to run NSS sample code 6, persistent symmetric keys?:

I specifically do not see the second genkey(1) failing, it runs straight thru completion.

Second behavior I notice is the first time PK11_GetInternalKeySlot(), I get a -5977 error, which is PR_LOAD_LIBRARY_ERROR. But after that I get an undocumented -8192 error code (but then again it runs thru completion, never hitting a failure return case).

I’d be interested in your thoughts, thanks!

1 Like