Hodie IV Id. Sep. MMXI, Maarten Billemont via RT scripsit: > According to rfc1779, the key STREET in the subject name should be > capitalized. > > obj_dat.h specifies it as a lower-cased "street". > > This is incorrect and breaks when OpenSSL is used to parse in > rfc1779-compliant distinguished names generated by external parties. > > The solution is to upper-case it to "STREET", just like "C", "CN", etc.
The "street" attribute type (OID 2.5.3.9) is not defined by RFC1779. This RFC doesn't state that those tokens are case sensitive (you could even use "cn" instead of "CN"). This RFC is defective at least in one aspect: the following names are not considered equal: CN=James Bond, O=MI6, C=UK CN=James \ Bond, O=MI6, C=UK CN=\ \ jAmeS bonD, O=MI6, C=UK these examples are equal, following X.520 rules. -- Erwann ABALEA <erwann.aba...@keynectis.com> Département R&D KEYNECTIS ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org