Hello,

I was experimenting OpenSSL 1.0.0 and I needed to create a request that must
be signed with Whirlpool hash algorithm. However, when I used the command:

 openssl req -whirlpool -newkey rsa:1024 -keyout key.pem -out req.pem

It didn't work. The error message was:
3078702728:error:0606B06E:digital envelope routines:EVP_SignFinal:wrong
public key type:p_sign.c:125:
3078702728:error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP
lib:a_sign.c:279:

I wish to know if the fact that whirlpool can't work for x509 requests is a
decision of openssl developers or there is another reason. Perhaps I am not
using it correctly.

PS: I am trying to hack openssl source code to find where I could include
changes that would allow to use whirlpool. Do you have any hint?

Thanks!
-- 
Davi Tozoni
Engenharia
KRYPTUS Engenharia Criptográfica
(19) 88140530
www.kryptus.com

Reply via email to