rsautl sign error in the fips-openssl-0.9.8m

2010-03-05 Thread kai_yang2008
Dear All, I have build a fips-openssl based on the fips1.2 and openssl-0.9.8m, But when I use the following command : openssl rsautl -sign -in file -inkey rsakey -out file_sign_pem -keyform PEM, it will produce the errors like this: RSA operation error 21837:error:0408908E:rsa

rsautl -sign -pkcs ?

2008-06-01 Thread entity
When I perform "rsautl -sign -pkcs" ..., then I create a siganture according to the PKCS#1 standard. However, the PKCS#1 standard specifies only signatures with appendix, but the command creates an output from which the original text can recovered (using -verify). So what standard

difference between dgst -sign and dgst | rsautl -sign?

2007-03-18 Thread Randolf
Hi! I am having troubles to understand whats the difference between openssl dgst -sha1 -sign and openssl dgst -sha1 -binary | openssl -rsautl -sign The output is completely different and trying to verify one signature produced by one method with the other method brings a padding error

RSAUTL -sign

2003-09-08 Thread Andrew Stickland
Hi, Bit of a problem as I'm stuck with RSA signatures... I've got a file containing 128 bytes of data (no CR/LF). The original data was padded (ISO9796-2/1) in order to create this file. When trying to sign this data with rsautl using the following command:- openssl rsautl -in padded -inkey pr