Hey guys!
I’d like to generate a Certificate Signing Request using the zymkey built-in features. I ran into a few troubles while using the shell script (under Raspbian 9.4 Stretch, even with the OpenSSL downgrade solution presented in another topic), so I went for the C API code in order to generate it, thanks to the zkSaveECDSAPubKey2File() function. Though I see it takes an int keyslot as a parameter, and I can’t figure out what this refers to. I tried putting some basic integers (0, 1), but the function won’t work. The documentation (whether it be the C, C++ or Python one) doesn’t provide much information other than we have to retrieve it and it’s only available for zymkey 4i and above, and I can’t find much elsewhere either.
Are those keyslots already preconfigured on the zymkey? If so, how do we access one? Are those public keys, associated to the already stored at manufactured private keys? Or should we generate keys that need to be stored in those key slots (even though I don’t see a zymkey function associated with it)?
Thanks for the help!