General

Profile

cjcsuhta (Corey Csuhta)

  • Login: cjcsuhta
  • Email: corey@cjcsuhta.com
  • Registered on: 02/26/2014
  • Last sign in: 01/19/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

05/02/2016

06:08 PM Ruby Bug #9569: SecureRandom should try /dev/urandom first
The Linux man page keeps getting mentioned, but what the current fallback code is actually doing is simply looking for any device named `/dev/urandom` on the host system:
https://github.com/ruby/ruby/blob/62b6e90d583e0a1c2be538a42640d...
cjcsuhta (Corey Csuhta)

01/22/2016

06:19 PM Ruby Misc #12004: Code of Conduct
I strongly support the creation of a policy "with teeth". It is not sufficient to list the ways that people should be nice, or to point at MINASWAN. You must strongly assert that the Ruby community is a welcoming place by **also taking r... cjcsuhta (Corey Csuhta)

12/17/2015

04:59 PM Ruby Bug #11833 (Closed): 2.2.4 syntax error when naked percent notation touches keyword arguments
Possible regression:
In Ruby 2.2.3, naked percent-notation was allowed in keyword arguments without spacing, like this:
~~~
$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
$ ruby -e "def foo(x:%i[a b c]...
cjcsuhta (Corey Csuhta)

02/26/2014

11:32 PM Ruby Bug #9569: SecureRandom should try /dev/urandom first
Akira, can you address this point?
>
SecureRandom in Ruby will use /dev/urandom if OpenSSL is not available, based on the code snippet I linked in the original post. This is contrary to your statement that /dev/urandom is not safe fo...
cjcsuhta (Corey Csuhta)
09:54 PM Ruby Bug #9569: SecureRandom should try /dev/urandom first
The `random(4)` manpage on Linux isn't accurate in this reguard. You **can** use it as more than just a seed source, and you can use it as frequently as you want.
On modern Linux, both `/dev/random` and `/dev/urandom` are [CSPRNG](htt...
cjcsuhta (Corey Csuhta)
12:48 AM Ruby Bug #9569 (Closed): SecureRandom should try /dev/urandom first
Right now, `SecureRandom.random_bytes` tries to detect an OpenSSL to use before it tries to detect `/dev/urandom`. I think it should be the other way around. In both cases, you just need random bytes to unpack, so SecureRandom could skip... cjcsuhta (Corey Csuhta)

Also available in: Atom