[#66678] [ruby-trunk - Feature #10481] Add "if" and "unless" clauses to rescue statements — alex@...
Issue #10481 has been updated by Alex Boyd.
3 messages
2014/12/04
[#66762] Re: [ruby-changes:36667] normal:r48748 (trunk): struct: avoid all O(n) behavior on access — Tanaka Akira <akr@...>
2014-12-10 0:44 GMT+09:00 normal <[email protected]>:
3 messages
2014/12/10
[#66851] [ruby-trunk - Feature #10585] struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs — funny.falcon@...
Issue #10585 has been updated by Yura Sokolov.
3 messages
2014/12/15
[#67126] Ruby 2.2.0 Released — "NARUSE, Yui" <naruse@...>
We are pleased to announce the release of Ruby 2.2.0.
8 messages
2014/12/25
[#67128] Re: Ruby 2.2.0 Released
— Rodrigo Rosenfeld Rosas <rr.rosas@...>
2014/12/25
I can't install it in any of our Ubuntu servers using rbenv:
[#67129] Re: Ruby 2.2.0 Released
— SHIBATA Hiroshi <shibata.hiroshi@...>
2014/12/25
> I can't install it in any of our Ubuntu servers using rbenv:
[ruby-core:66919] [ruby-trunk - Bug #10257] Generate X.509 certificate/request/CRL with elliptic curve keys
From:
ereslibre@...
Date:
2014-12-17 18:05:39 UTC
List:
ruby-core #66919
Issue #10257 has been updated by Rafael Fern=C3=A1ndez L=C3=B3pez. Just for reference. I also stepped on this issue, and there is an older bug= about this issue: #5600 ---------------------------------------- Bug #10257: Generate X.509 certificate/request/CRL with elliptic curve keys https://bugs.ruby-lang.org/issues/10257#change-50464 * Author: John Downey * Status: Open * Priority: Normal * Assignee:=20 * Category: ext/openssl * Target version: current: 2.2.0 * ruby -v: ruby 2.2.0dev (2014-09-18 trunk 47624) [x86_64-darwin13] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- Elliptic curve keys (`OpenSSL::PKey::EC`) cannot currently be used with the= X.509 classes in Ruby OpenSSL. This is due to a few slight incompatibiliti= es between the way RSA/DSA are implemented and the way EC is implemented. * `OpenSSL::PKey::EC` does not respond to `#private?` which is used by the = `#sign` method on `OpenSSL::X509::Certificate`, `OpenSSL::X509::Request`, a= nd `OpenSSL::X509::CRL` * The `#public_key` method on `OpenSSL::PKey::EC` returns a `OpenSSL::PKey:= :EC::Point` instead of a `OpenSSL::PKey::EC` object with just public key fi= elds This patch adds an alias for `#public?` and `#private?` to `OpenSSL::PKey::= EC` that correspond to `#public_key?` and `#private_key?`. This brings it i= n line with the same interface on `OpenSSL::PKey::RSA` and `OpenSSL::PKey::= DSA`. This also allows the key to be used with the X.509 classes I mentione= d. The second issue is unfortunately more complex as it does not look like it = is possible to fix without either breaking backwards compatibility or putti= ng some branching deeper in `OpenSSL::X509::Certificate`, `OpenSSL::X509::R= equest`, and `OpenSSL::X509::CRL`. The good news is you can pass the privat= e `OpenSSL::PKey::EC` key to `#public_key=3D` and it still does the right t= hing. ---Files-------------------------------- ec_x509.patch (8.06 KB) --=20 https://bugs.ruby-lang.org/