ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:119925] [Ruby master Feature#20893] random/formatter.rb: Separate from securerandom
@ 2024-11-14  3:20 nobu (Nobuyoshi Nakada) via ruby-core
  2024-11-14  3:33 ` [ruby-core:119926] " nobu (Nobuyoshi Nakada) via ruby-core
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2024-11-14  3:20 UTC (permalink / raw)
  To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)

Issue #20893 has been reported by nobu (Nobuyoshi Nakada).

----------------------------------------
Feature #20893: random/formatter.rb: Separate from securerandom
https://bugs.ruby-lang.org/issues/20893

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Assignee: matz (Yukihiro Matsumoto)
----------------------------------------
For historical reasons, random/formatter.rb is included in ruby​​​​/securerandom, but it does not contain any security-related methods as evidenced by the fact that its path is not under `securerandom/`, but only contains generic methods for PRNGs, including the standard class `Random`.

So I propose to either:
1. put it back in the standard library, or
2. separate it into a new gem.

Adding a new dependency may not be welcomed, as seen in the recent issues with base64.



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:119926] [Ruby master Feature#20893] random/formatter.rb: Separate from securerandom
  2024-11-14  3:20 [ruby-core:119925] [Ruby master Feature#20893] random/formatter.rb: Separate from securerandom nobu (Nobuyoshi Nakada) via ruby-core
@ 2024-11-14  3:33 ` nobu (Nobuyoshi Nakada) via ruby-core
  2024-11-19  2:39 ` [ruby-core:119957] " hsbt (Hiroshi SHIBATA) via ruby-core
  2024-12-16  9:41 ` [ruby-core:120259] " hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2024-11-14  3:33 UTC (permalink / raw)
  To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)

Issue #20893 has been updated by nobu (Nobuyoshi Nakada).


lol

```shell-session
$ git ls-files -- '**/random/formatter.rb'
lib/bundler/vendor/securerandom/lib/random/formatter.rb
lib/random/formatter.rb
lib/rubygems/vendor/securerandom/lib/random/formatter.rb
```


----------------------------------------
Feature #20893: random/formatter.rb: Separate from securerandom
https://bugs.ruby-lang.org/issues/20893#change-110647

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Assignee: matz (Yukihiro Matsumoto)
----------------------------------------
For historical reasons, random/formatter.rb is included in ruby​​​​/securerandom, but it does not contain any security-related methods as evidenced by the fact that its path is not under `securerandom/`, but only contains generic methods for PRNGs, including the standard class `Random`.

So I propose to either:
1. put it back in the standard library, or
2. separate it into a new gem.

Adding a new dependency may not be welcomed, as seen in the recent issues with base64.



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:119957] [Ruby master Feature#20893] random/formatter.rb: Separate from securerandom
  2024-11-14  3:20 [ruby-core:119925] [Ruby master Feature#20893] random/formatter.rb: Separate from securerandom nobu (Nobuyoshi Nakada) via ruby-core
  2024-11-14  3:33 ` [ruby-core:119926] " nobu (Nobuyoshi Nakada) via ruby-core
@ 2024-11-19  2:39 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2024-12-16  9:41 ` [ruby-core:120259] " hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-11-19  2:39 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20893 has been updated by hsbt (Hiroshi SHIBATA).


>put it back in the standard library, or

I prefer that approach.

----------------------------------------
Feature #20893: random/formatter.rb: Separate from securerandom
https://bugs.ruby-lang.org/issues/20893#change-110689

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Assignee: matz (Yukihiro Matsumoto)
----------------------------------------
For historical reasons, random/formatter.rb is included in ruby​​​​/securerandom, but it does not contain any security-related methods as evidenced by the fact that its path is not under `securerandom/`, but only contains generic methods for PRNGs, including the standard class `Random`.

So I propose to either:
1. put it back in the standard library, or
2. separate it into a new gem.

Adding a new dependency may not be welcomed, as seen in the recent issues with base64.



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:120259] [Ruby master Feature#20893] random/formatter.rb: Separate from securerandom
  2024-11-14  3:20 [ruby-core:119925] [Ruby master Feature#20893] random/formatter.rb: Separate from securerandom nobu (Nobuyoshi Nakada) via ruby-core
  2024-11-14  3:33 ` [ruby-core:119926] " nobu (Nobuyoshi Nakada) via ruby-core
  2024-11-19  2:39 ` [ruby-core:119957] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2024-12-16  9:41 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-12-16  9:41 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20893 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Assigned to Closed
Assignee changed from matz (Yukihiro Matsumoto) to hsbt (Hiroshi SHIBATA)

I removed `Random::Formatter` from `SecureRandom` gem at version 0.4.x.

* https://github.com/ruby/securerandom/releases/tag/v0.4.0
* https://github.com/ruby/securerandom/releases/tag/v0.4.1



----------------------------------------
Feature #20893: random/formatter.rb: Separate from securerandom
https://bugs.ruby-lang.org/issues/20893#change-111025

* Author: nobu (Nobuyoshi Nakada)
* Status: Closed
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
For historical reasons, random/formatter.rb is included in ruby​​​​/securerandom, but it does not contain any security-related methods as evidenced by the fact that its path is not under `securerandom/`, but only contains generic methods for PRNGs, including the standard class `Random`.

So I propose to either:
1. put it back in the standard library, or
2. separate it into a new gem.

Adding a new dependency may not be welcomed, as seen in the recent issues with base64.



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-16  9:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-14  3:20 [ruby-core:119925] [Ruby master Feature#20893] random/formatter.rb: Separate from securerandom nobu (Nobuyoshi Nakada) via ruby-core
2024-11-14  3:33 ` [ruby-core:119926] " nobu (Nobuyoshi Nakada) via ruby-core
2024-11-19  2:39 ` [ruby-core:119957] " hsbt (Hiroshi SHIBATA) via ruby-core
2024-12-16  9:41 ` [ruby-core:120259] " hsbt (Hiroshi SHIBATA) via ruby-core

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).