I think I wrote this mail in a wrong way so I post it again:

Hello, when I run:

openssl dgst -sha1 -sign <id_of_private_key> -keyform engine -out
<file> -engine <id-engine> <file-with-data>

In OpenSSL 0.9.8 when the load privkey function ends, OpenSSL is
waiting and do nothing (doesn't invoke rsa_sign), it doesn't do
anything more.
In openSSL 1.0.0a when the load privkey function ends, OpenSSL throws
the next error:

Error setting context
3916:error:260C0065:engine routines:ENGINE_get_pkey_meth:unimplemented
public key method:.\crypto\engine\tb_pkmeth.c:127:
3916:error:0609D09C:digital envelope routines:INT_CTX_NEW:unsupported
algorithm:.\crypto\evp\pmeth_lib.c:161:
error in dgst

Do I have to do something further define rsa sign function and link it
in the RSA_METHOD?.
Thanks again.

Reply via email to