--- the forwarded message follows ---
--- Begin Message --- On Thu, 13 Jan 2005 16:26:33 +0100
Fr�d�ric Donnat <[EMAIL PROTECTED]> wrote:Hi Massimo,
Hi,
As far as I know it you must "LOAD" (pre command I think) the ENGINE to correctly set all ENGINE function pointers... And thus initialize openssl with your ENGINE. Did you do it?
Yes, init of the ENGINE works fine.
You should be able to get a priovate key handle but not the private key paramters according to PKCS#11.
I have done such thing with a Bull PKCS 11 module and their PKCS#11 patch and it works fine.
You could try to trace Luna ENGINE in ENGINE_load_private_key() function in order to find the faulty part of code.
This is what I have done... and I found that they simply did not implemented the ENGINE_load_private_key()... I am
trying to implement it... but it is quite hard to do it in
less than one day. I hope they will respond to my requests
sending me the missing functions (also the ENGINE_load_public_key() is missing, but this is not an issue... at the moment!).
It sounds really strange, anyway, that this function is missing... as this implies that no ENGINE support is there to use private keys directly on the LunaCA/SA!?!?
Anyway if you have some code you can send me about your implementation, I would be glad to take a look at it in order to check my implementation.
Thx, for your help.
-- Massimiliano Pala
--- End Message ---
