Bug #8664
closed
Updated by drbrain (Eric Hodel) almost 12 years ago
- Category set to ext/openssl
- Status changed from Open to Assigned
- Assignee set to MartinBosslet (Martin Bosslet)
Updated by drbrain (Eric Hodel) almost 12 years ago
- File openssl.bug_8664. added
It seems that there are multiple ways to represent a UTCTime in ASN1, but ruby's openssl extension only implements one of them.
This adds the format your certificate is encoded in.
Martin, can you check it? Are there other formats that are missing?
Updated by MartinBosslet (Martin Bosslet) almost 12 years ago
- Assignee changed from MartinBosslet (Martin Bosslet) to drbrain (Eric Hodel)
Unfortunately, when encoded as BER, all bets are off, as the format (with or without time zone, string representations of the time zone, ...) is not clearly specified anymore. But in this particular case I believe it makes a lot of sense to add explicit support. Please, Eric, go ahead and commit your ! And thanks, BTW :)
Updated by drbrain (Eric Hodel) almost 12 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r42126.
Jody, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhhmmZ
format for ASN.1 UTCTime. [ruby-trunk - Bug ] - test/openssl/test_asn1.rb: Test for the above.
Updated by drbrain (Eric Hodel) almost 12 years ago
- Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: REQUIRED, 2.0.0: REQUIRED
Updated by nagachika (Tomoyuki Chikanaga) almost 12 years ago
- Backport changed from 1.9.3: REQUIRED, 2.0.0: REQUIRED to 1.9.3: REQUIRED, 2.0.0: DONE
Backported to ruby_2_0_0 at r42215.
Updated by usa (Usaku NAKAMURA) almost 12 years ago
- Backport changed from 1.9.3: REQUIRED, 2.0.0: DONE to 1.9.3: DONE, 2.0.0: DONE
Backported to ruby_1_9_3 at r42328.