[#9644] Determinant Problem in Matrix.rb — <noreply@...>
Bugs item #7001, was opened at 2006-12-01 03:50
This is 100% intended. You have to learn integer arithmetics when you
[#9654] Float numbers comparison — "Paulo Soeiro" <pcsoeiro@...>
Hi,
On 12/1/06, Paulo Soeiro <pcsoeiro@gmail.com> wrote:
[#9661] Dir.exist? — Kornelius Kalnbach <murphy@...>
hi!
[#9664] Bigdecimal isn't comparable — <noreply@...>
Bugs item #7045, was opened at 2006-12-04 19:20
On 12/4/06, noreply@rubyforge.org <noreply@rubyforge.org> wrote:
[#9685] Segmentation fault - bignorm() — ico@... (Ico Doornekamp)
[#9713] Sets and String subclasses — <noreply@...>
Bugs item #7253, was opened at 2006-12-13 12:26
> I would expect the second puts to return 5, not nil. In fact, I'd expect s.to_a[0] to return the same object as a.
[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>
Bugs item #7278, was opened at 2006-12-14 13:59
Hi,
I bet your script /usr/local/bin/p4 is a shell script which doesn't have a
On Dec 14, 2006, at 18:57, Michael Selig wrote:
[#9725] Fixes going into 1.8.5.9 — "Zev Blut" <rubyzbibd@...>
Hello,
[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>
Back in August, I needed a semaphore to serialize access to an external
Hi,
Nobuyoshi Nakada wrote:
Hi,
[#9753] CVS freeze — SASADA Koichi <ko1@...>
Hi,
Hi,
Hi,
Hi,
Hi,
* Shugo Maeda (shugo@ruby-lang.org) wrote:
[#9794] Fwd: [Vit-core] Ruby 1.8.5-p2 Stable Version download bug-fix confusion. — James Edward Gray II <james@...>
The following is a complaint we received about the Ruby home page today.
[#9797] Where to start — "Strong Cypher" <cypherstrong@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#9803] RDoc patch that fixes rb_const_define output — <noreply@...>
Patches item #7499, was opened at 2006-12-30 05:23
On 12/30/06, Eric Hodel <drbrain@segment7.net> wrote:
On Dec 30, 2006, at 19:16, Daniel Berger wrote:
On Dec 31, 2006, at 24:31, Eric Hodel wrote:
[#9816] merge YARV — SASADA Koichi <ko1@...>
Hi,
[ ruby-Bugs-7218 ] OpenSSL library not updated with new PKCS #12 features
Bugs item #7218, was opened at 2006-12-11 17:55
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7218&group_id=426
Category: Core
Group: 1.8.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Romek Szczesniak (romek)
Assigned to: Nobody (None)
Summary: OpenSSL library not updated with new PKCS #12 features
Initial Comment:
Openssl changed its PKCS #12 library in May 2004 to handle the following:
openssl pkcs12 -in privkey.pem -out out.p12 -export -nocerts
However, as the Ruby OpenSSL library hasn't mirrored this, example code of PKCS #12 handling:
require "openssl"
pkey = OpenSSL::PKey::RSA.new(File.read("privkey.pem"))
#pkey = OpenSSL::PKey::RSA.new(512)
cert = OpenSSL::X509::Certificate.new
cert.version = 1
cert.subject = cert.issuer = OpenSSL::X509::Name.parse("/C=FOO")
cert.public_key = pkey.public_key
cert.not_before = Time.now
cert.not_after = Time.now+3600*24*365
cert.sign(pkey, OpenSSL::Digest::SHA1.new)
#p12 = OpenSSL::PKCS12.create("passwd", "Test User", pkey, OpenSSL::X509::Certificate.new)
p12 = OpenSSL::PKCS12.create("passwd", "Joe Fish", pkey, nil)
print "Done!" # p12.to_der
If OpenSSL::PKCS12.create has last argument nil or empty string, then the compiler complains that the object is not an OpenSSL::X509::Certificate.
If OpenSSL::PKCS12.create has last argument OpenSSL::X509::Certificate.new, then the compiler bus errors.
PKCS #12 defines (at least) six different types of key transport mechanisms. Currently, the Ruby Openssl implementation is only supporting the most used.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7218&group_id=426