According to <http://linuxmanpages.com/man1/rsautl.1.php>, you can
sign data with OpenSSL.  My question is how?  I tried to sign my
private key and got the following error:

ubu...@ubuntu:~$ openssl rsautl -sign -in rsa.txt -inkey rsa.txt -out sig
Enter pass phrase for rsa.txt:
RSA operation error
1543:error:0406C06E:rsa routines:RSA_padding_add_PKCS1_type_1:data too
large for key size:rsa_pk1.c:73:

If I didn't know better, I'd guess that rsautl wasn't signing messages
but rather was encrypting them, even though I had "out -sig" set.  So
how do I sign with rsautl?  Is it even possible?  And how do I sign
with PSS as opposed to PKCS#1?
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to