Bug 1346 - claymore.com JCE doesn't understand UTF8 encoded DNs
: claymore.com JCE doesn't understand UTF8 encoded DNs
Status: RESOLVED FIXED
: CoG jglobus
security
: unspecified
: PC All
: P2 critical
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-11-02 11:38 by
Modified: 2005-12-05 17:00 (History)


Attachments
scrapbook.jpage (1.69 KB, text/plain)
2003-11-03 02:32, Olle Mulmo
Details
Updated cryptix asn1 library that knows how to handle UTF8 encoded RNDs (79.09 KB, application/octet-stream)
2003-11-10 23:03, Jarek Gawor
Details
Updated cryptix asn1 library that knows how to handle UTF8 encoded RNDs (79.13 KB, application/octet-stream)
2003-11-11 11:27, Jarek Gawor
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-11-02 11:38:01
When loading a certificate with the RDNs encoded as UTF8Strings (which RFC3280 
specificies as the recommended encoding after December 31, 2003), the 
certificate factory used by CoG (com.claymore....) dies. 

Thus, this bug also affects the GT3.x releases.

SUN, BC and openssl can handle the same certificate just fine. (There ought to 
exist an update to the provider?)

/Olle
------- Comment #1 From 2003-11-02 19:15:28 -------
Could you send us such certificate so that we can include it in our tests?
------- Comment #2 From 2003-11-03 02:32:24 -------
Created an attachment (id=251) [details]
scrapbook.jpage

Enclosing runnable Java code showcasing the cert and the problem.
------- Comment #3 From 2003-11-03 03:05:01 -------
I was about to, but my connection died... attaching test code.

/O


------- Comment #4 From 2003-11-10 23:03:53 -------
Created an attachment (id=256) [details]
Updated cryptix asn1 library that knows how to handle UTF8 encoded RNDs

Can you retest your application with this updated ans1 library and let me know?
------- Comment #5 From 2003-11-11 03:04:57 -------
Works like a charm! :-)
------- Comment #6 From 2003-11-11 11:27:56 -------
Created an attachment (id=257) [details]
Updated cryptix asn1 library that knows how to handle UTF8 encoded RNDs

The previous version had a small problem. This one should work for all cases.