"Salz, Rich" <[EMAIL PROTECTED]>:

> I think there are some bugs in the handling of non-ascii chars...
> 28 $ openssl x509 -in x -text
[...]
>         X509v3 extensions:
[...]
>             2.5.29.4: critical
>                 0.0.0..
> +.....7.......
>             commonName:
>                 ..Microsoft Corporation
[...]
>             2.5.29.1:
> 0...U.          0i.....[...*.9..b.S2.R0P1.0...U....US1
> ..MSFT1200..U...)Microsoft Authenticode(tm) Root Authority...
>     Signature Algorithm: md5WithRSAEncryption
>         9a:5b:9a:0b:37:23:cb:98:ff:5b:ec:56:70:6d:55:ab:e0:0c:
>         4d:f8:a9:b5:76:69:a3:0a:8d:0c:4f:2a:05:96:fe:40:16:2a:
>         36:d2:27:da:76:6b:9a:45:04:e8:a2:83:63:1e:f9:17:61:43:
>         7f:39:b4:f0:12:a9:05:d8:17:c5:f5:86:40:bb:4f:02:bd:71:
>         2d:64:4d:17:c5:2a:dc:89:61:c1:b9:50:31:34:3c:07:26:28:
>         a1:58:34:b0:f4:7d:16:6e:62:9b:3b:b5:87:fb:a6:c8:33:b3:
>         8a:43:27:2f:b0:22:ae:1a:a8:ed:3c:a9:05:de:12:c8:b0:31:
[...]

There are bytes in those octet strings that look, when interpreted as
ASCII, like CR and LF characters (while in fact the octet strings
encapsulate more DER objects); so it seems to be a feature, though a
questionable one, that the output starts a new line.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to