Thank you !
"Dr. Stephen Henson" <[EMAIL PROTECTED]>
23/04/2004 14:38
Veuillez r�pondre � openssl-users
Pour : [EMAIL PROTECTED]@[EMAIL PROTECTED] Hub
cc :
Objet : Re: signing a file with openssl
On Fri, Apr 23, 2004, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am trying to sign a file with openssl :
>
> openssl rsautl -raw -sign -in coucou1.pdf -inkey
gilles.pem -out sig
> Enter pass phrase for gilles.pem:
> RSA operation error
> 30452:error:0406B06E:rsa
routines:RSA_padding_add_none:data too large for
> key size:rsa_none.c:70:
>
> I did not find anything clear about this error. My
key size is 1024.
>
> How do you sign files with openssl ?
The raw RSA algorithm should not be used for signing
files: it can only sign
data smaller than the modulus[*]. You can use the
appropriate command line
options to the 'dgst' command instead.
[*] Exactly how much smaller depends on the padding
used.
Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see
homepage
OpenSSL project core developer and freelance
consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project
http://www.openssl.org
User Support Mailing List [EMAIL
PROTECTED]
Automated List Manager
[EMAIL PROTECTED]
**********************************************************************
Ce message �lectronique et tous les fichiers attach�s qu'il contient sont
confidentiels et destin�s exclusivement � l'usage de la personne � laquelle ils sont
adress�s.
Si vous avez re�u ce message par erreur,merci de le retourner � son �metteur.
Les id�es et opinions pr�sent�es dans ce messages sont celles de son auteur, et ne
repr�sentent pas n�cessairement celles du Groupe HAYS plc ou d'une quelconque de ses
filiales.
La publication, l'usage, la distribution, l'impression ou la copie non autoris�e de ce
message et des attachements qu'il contient sont strictement interdits.
Nous vous informons �galement que nous avons v�rifi� l'absence de virus dans ce
message mais que, malgr� ce contr�le, nous ne saurions �tre tenus pour responsables
d'�ventuels d�g�ts occasionn�s par un virus non d�tect�.
This e-mail and any attached files are confidential and intended solely for the use of
the individual to whom it is addressed.
If you have received this email in error please send it back to the person that sent
it to you.
Any views or opinions presented are solely those of author and do not necessarily
represent those the HAYS plc group or any of its subsidiary companies.
Unauthorized publication, use, dissemination, forwarding, printing or copying of this
email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus
but we decline any responsability in case of any damage caused by an a non detected
virus.
**********************************************************************
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]