using gpgsm

Aleksandar Milivojevic alex at milivojevic.org
Tue Jan 3 22:16:03 CET 2006


Quoting Werner Koch <wk at gnupg.org>:

> On Thu, 29 Dec 2005 14:52:43 -0600, Aleksandar Milivojevic said:
>
>> $ openssl x509 -noout -text -in test.crt
>>        Subject: C=CA, ST=Quebec, L=Montreal,
>> O=\x00T\x00e\x00s\x00t\x00_\x00I\x00m\x00p\x00r\x00i\x00m\x00e\x00u\x00r,
>
> That looks much like a double wide character encoding (ucs2 ?) and for
> sure is no utf-8.  gpgsm is able to convert certain encodings but not
> all of them.  Check out libksba/src/dn.c:append_atv.  It is possible
> that there is a bug in the implementation (append_ucs2_value).

After some Googling around and reading (mostly
http://www.cs.auckland.ac.nz/~pgut001/pubs/x509guide.txt and other docs
overthere)...  The above string was BMPString, which means it was really UCS-2
(10646/Unicode), as you indicated.


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Gnupg-users mailing list