Hello, > I ran this command line: > > > > openssl rsautl -verify -in "mysignaturefile.sig" -pubin -inkey > "public.key" -asn1parse > > > > …and got this: > > > > Loading 'screen' into random state - done > > RSA operation error > > 5924:error:0406706C:rsa routines:RSA_EAY_PUBLIC_DECRYPT:data greater > than mod len:.\crypto\rsa\rsa_eay.c:660: > > > > If the php internal openssl code verifies this signature, and the > external openssl.exe binary generates thie listing above, does this > indicate a but in openssl.exe? Check mysignaturefile.sig file size. For 1024 bit RSA key this file should have 128 byte size (for 2048 - 256 bytes). Maybe some CRLF conversion occurred (this is binary file).
Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]