On Tue, 27 Feb 2001, Jaime Torres wrote:
> Hello openssl-users,
>
> Recently I have made a dump of a certificate using:
>
> openssl x509 -inform der -in <certificate file> -text
> >certificate.dump
>
> The dump has a small bug, the dump of the certificate was like:
>
> RSA Public Key: (2048 bit)
> Modulus (2048 bit):
> 00:bd:ac:2b:87:d8:a8:81:ea:42:f3:22:0f:94:8b:
> 82:43:8d:82:f7:26:c1:95:35:f8:6c:8f:98:a7:b3:
>
> And here is the bug, the modulus dump contains 2056 bits, because it
> includes the 00 from the ASN.1 tag.
There's no bug, the leading 00 just indicates that the number is a
positive one...
--
Erwann ABALEA
[EMAIL PROTECTED]
RSA PGP Key ID: 0x2D0EABD5
-----
Think carefully before wishing, it might just come true.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]