Feature #3793
closedUpdated by nahi (Hiroshi Nakamura) over 14 years ago
- Priority changed from Normal to 3
=begin
Sorry ^takau, it's a test issue so I mark this Priority 'Low'.
=end
Updated by shyouhei (Shyouhei Urabe) over 14 years ago
- Status changed from Open to Assigned
=begin
=end
Updated by tenderlovemaking (Aaron Patterson) about 14 years ago
- Assignee changed from nahi (Hiroshi Nakamura) to tenderlovemaking (Aaron Patterson)
=begin
I will add some tests.
=end
Updated by nahi (Hiroshi Nakamura) over 13 years ago
- Assignee changed from tenderlovemaking (Aaron Patterson) to nahi (Hiroshi Nakamura)
- Target version changed from 1.9.2 to 1.9.3
Updated by MartinBosslet (Martin Bosslet) over 13 years ago
Hiroshi, I could take this if you'd like?
I'm basically through with 1.9.3 issues assigned to me, please let
me know how I can help further for the upcoming release!
Regards,
Martin
Updated by nahi (Hiroshi Nakamura) over 13 years ago
- Assignee changed from nahi (Hiroshi Nakamura) to MartinBosslet (Martin Bosslet)
Martin, thank you for your concern. I'll change 'Assignee' of ext/openssl tickets to you. Please send those ticket back to me as you like.
For this ticket, Aaron added test_pkcs12.rb IIRC so you should be able to close it soon.
Updated by MartinBosslet (Martin Bosslet) over 13 years ago
Hiroshi Nakamura wrote:
Martin, thank you for your concern. I'll change 'Assignee' of ext/openssl tickets to you. Please send those ticket back to me as you like.
Ok, thanks! Once we're done with the tickets and reach the code freeze phase I wanted to concentrate on adding tests and doc for OpenSSL. Please feel free to approach me with any other pre-release emergencies (testing etc.)!
For this ticket, Aaron added test_pkcs12.rb IIRC so you should be able to close it soon.
Yes, I just saw Aaron's tests there - I guess we can close this?
Updated by naruse (Yui NARUSE) over 13 years ago
- Target version changed from 1.9.3 to 2.0.0
Updated by Anonymous over 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r32690.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
[ Ruby 1.9 - Feature #3793 ] [ruby-core:32088]
Updated by MartinBosslet (Martin Bosslet) over 13 years ago
There was not really much to add to Aaron's tests. I included a CA and an intermediate CA certificate, and one additional test.
But I noticed three things:
-
What is OpenSSL::PKCS12.new good for? It seems like it's useless - the PKCS12 attributes are read-only...
-
... but probably shouldn't be? Currently, there's no way for changing a PKCS#12 file's password, which could be quite useful.
-
When writing the test I realized that OpenSSL::X509::Certificate and OpenSSL::PKey and as far as I know all the other classes
based on ASN.1 structures do not override '=='. But I think it's safe to define and would be more intuitive if equality for such
objects would be defined on the DER level, i.e. two objects are equal if their encoding is equal.
I'll open new issues for these.