General

Profile

bararchy (Bar Hofesh)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 3 4

Activity

08/18/2016

02:19 PM Ruby Bug #12687: OpenSSL::X509::Store wont load certificates from set_default_paths
Kazuki Yamaguchi wrote:
> It's working for me:
> ...
I see, is there a way to call c_rehash from Ruby ?
bararchy (Bar Hofesh)
11:14 AM Ruby Bug #12687 (Closed): OpenSSL::X509::Store wont load certificates from set_default_paths
Setting up a new instance of OpenSSL::X509::Store, and setting "set_default_paths" will not actually import any certificates into Store.
Environment: Ubuntu 14.04
`File.dirname OpenSSL::Config::DEFAULT_CONFIG_FILE
=> "/usr/lib/ssl...
bararchy (Bar Hofesh)

11/30/2015

02:45 PM Ruby Bug #11753: Building ruby-git on Arch Linux eats all memory on ./configure
Bar Hofesh wrote:
> Hi,
> ...
Ok, using the "echo here and there" debug method I got to the part where it is getting stuck:
~~~sh
echo "Testing 1"
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
_as_can...
bararchy (Bar Hofesh)
02:27 PM Ruby Bug #11753 (Third Party's Issue): Building ruby-git on Arch Linux eats all memory on ./configure
Hi,
I'm trying to build Ruby from sources.
What I tried:
1) Build from git using git clone, autoconf, ./configure
2) Build with RVM versions 2.2.1, 2.2-head, 2.1.5, ruby-head
All have failed when reaching the "./configure" ...
bararchy (Bar Hofesh)

07/30/2015

10:01 AM Ruby Bug #11400: IO.gets(/\x0d?\x0a\x0d?\x0a/, 4096) raises comparison of Fixnum with nil failed
Small and elegant fix, after a few hours of testings (stress and SSL errors), it seems that your patch is working and isn't breaking anything I can see.
Thanks
bararchy (Bar Hofesh)

07/29/2015

08:36 AM Ruby Bug #11400: IO.gets(/\x0d?\x0a\x0d?\x0a/, 4096) raises comparison of Fixnum with nil failed
Looking at the code it's clear the offending line is https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/buffering.rb#L216
Where sometimes size would be nil, and because of "size = [size, limit].min" or more specifically "si...
bararchy (Bar Hofesh)
08:17 AM Ruby Bug #11400: IO.gets(/\x0d?\x0a\x0d?\x0a/, 4096) raises comparison of Fixnum with nil failed
Eric Wong wrote:
> Since you're using SSLSocket, I recommend dumping a backtrace when you
> ...
Error Reading Aware: comparison of Fixnum with nil failed
Error Reading Aware: ["/usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/b...
bararchy (Bar Hofesh)

07/28/2015

12:11 PM Ruby Bug #11400: IO.gets(/\x0d?\x0a\x0d?\x0a/, 4096) raises comparison of Fixnum with nil failed
Further Testing show that this happens (less so) when Regexp is not used, as in IO.gets("\r\n\r\n") bararchy (Bar Hofesh)
09:43 AM Ruby Bug #11400 (Closed): IO.gets(/\x0d?\x0a\x0d?\x0a/, 4096) raises comparison of Fixnum with nil failed
This is my code, "socket" is a SSLSocket this is why it allows a Regexp in gets
`begin
http_response[:http_headers] = WEBrick::Utils.timeout(3){
socket.gets(/\x0d?\x0a\x0d?\x0a/, 4096) #\r?\n\r?\n
}
rescue Errno::E...
bararchy (Bar Hofesh)

11/16/2014

12:34 PM Ruby Feature #10519: TLS Renegotiation
Also implemented in python at: http://pythonhosted.org//pyOpenSSL/api/ssl.html#OpenSSL.SSL.Connection.renegotiate bararchy (Bar Hofesh)

Also available in: Atom