You're right and I haven't seen it til now. This could be the problem. This means that the OpenSSL check works fine, but the signature generation has sometimes a problem.
Thank you very much for now. > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von > Kenneth Goldman > Gesendet: Montag, 11. Februar 2008 16:31 > An: openssl-users@openssl.org > Betreff: Re: RSA_public_decrypt error > > [EMAIL PROTECTED] wrote on 02/11/2008 10:22:00 AM: > > > I'm not that good in OpenSSL. How do I create a RSA file if I only > > have a modulus and exponent. Programmatically I have set > the 2 values > > with BN_bin2bn(), but how do I save this to a file? > > I use PEM_write_RSAPublicKey() > > It's interesting that the working case has the ciphertext the > same size as the modulus, while the failing case seems to be > missing a byte. > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]