uname -a
Darwin ensemble.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc
$ ruby18 exossl.rb
/usr/local/lib/ruby/1.8/pp.rb:290: [BUG] Bus Error
ruby 1.8.2 (2004-11-12) [powerpc-darwin6.8]
Abort trap
$ cat exossl.rb
require 'openssl'
require 'pp'
include OpenSSL
pp PKey::RSA.new
Thanks,
Sam
I think I have 1.8-p3 installed, but I'm not sure because yours is 6 days newer. Oh, and I'm on 10.3.
$ ruby
require 'openssl'
require 'pp'
include OpenSSL
pp PKey::RSA.new
-----BEGIN RSA PUBLIC KEY-----
MAA=
-----END RSA PUBLIC KEY-----
$ ruby -v
ruby 1.8.2 (2004-11-06) [powerpc-darwin7.6.0]
···
On 04 Dec 2004, at 08:46, Sam Roberts wrote:
uname -a
Darwin ensemble.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc
$ ruby18 exossl.rb
/usr/local/lib/ruby/1.8/pp.rb:290: [BUG] Bus Error
ruby 1.8.2 (2004-11-12) [powerpc-darwin6.8]
Abort trap
$ cat exossl.rb
require 'openssl'
require 'pp'
include OpenSSL
pp PKey::RSA.new
ts1
(ts)
3
I think I have 1.8-p3 installed, but I'm not sure because yours is 6
days newer. Oh, and I'm on 10.3.
Probably a problem with the version of openssl
uln% cat b.rb
#!/usr/local/bin/ruby
require 'openssl'
require 'pp'
include OpenSSL
p OPENSSL_VERSION
pp PKey::RSA.new
uln%
uln% b.rb
"OpenSSL 0.9.6g [engine] 9 Aug 2002"
/usr/local/lib/ruby/1.8/pp.rb:290: [BUG] Segmentation fault
ruby 1.8.2 (2004-11-06) [x86_64-linux]
Aborted
uln%
uln% ruby -v b.rb
ruby 1.8.2 (2004-11-06) [x86_64-linux]
"OpenSSL 0.9.7e 25 Oct 2004"
-----BEGIN RSA PUBLIC KEY-----
MAA=
-----END RSA PUBLIC KEY-----
uln%
Guy Decoux
Quoteing decoux@moulon.inra.fr, on Sun, Dec 05, 2004 at 08:23:04PM +0900:
> I think I have 1.8-p3 installed, but I'm not sure because yours is 6
> days newer. Oh, and I'm on 10.3.
Probably a problem with the version of openssl
uln% cat b.rb
#!/usr/local/bin/ruby
require 'openssl'
require 'pp'
include OpenSSL
p OPENSSL_VERSION
pp PKey::RSA.new
uln%
uln% b.rb
"OpenSSL 0.9.6g [engine] 9 Aug 2002"
/usr/local/lib/ruby/1.8/pp.rb:290: [BUG] Segmentation fault
ruby 1.8.2 (2004-11-06) [x86_64-linux]
Aborted
Apple's OS X 10.2 has 0.9.6.e, so I'm seeing the SEGV.
Thanks,
Sam
···
uln%
uln% ruby -v b.rb
ruby 1.8.2 (2004-11-06) [x86_64-linux]
"OpenSSL 0.9.7e 25 Oct 2004"
-----BEGIN RSA PUBLIC KEY-----
MAA=
-----END RSA PUBLIC KEY-----
uln%
Guy Decoux
"OpenSSL 0.9.7b 10 Apr 2003"
-----BEGIN RSA PUBLIC KEY-----
MAA=
-----END RSA PUBLIC KEY-----
Yep.
···
On 05 Dec 2004, at 03:23, ts wrote:
> I think I have 1.8-p3 installed, but I'm not sure because yours is 6
> days newer. Oh, and I'm on 10.3.
Probably a problem with the version of openssl
uln% b.rb
"OpenSSL 0.9.6g [engine] 9 Aug 2002"
/usr/local/lib/ruby/1.8/pp.rb:290: [BUG] Segmentation fault
ruby 1.8.2 (2004-11-06) [x86_64-linux]