From: thanhman.gm@... Date: 2014-08-07T21:18:53+00:00 Subject: [ruby-core:64247] [ruby-trunk - Bug #10093] SecureRandom.uuid is unstable Issue #10093 has been updated by Man Vuong. I just found out the problem, the root cause is because a bug in one of gems I'm using which it does something like this: ``` "e7be09bb-e939-43db-9c20-dfad9c27fd3f".next ``` And in result is the invalid UUID with `g`. I confirmed this is not related to SecureRandom.uuid. My bad, I'm very sorry. Thank you for your time and concern on my inappropriate ticket :P ---------------------------------------- Bug #10093: SecureRandom.uuid is unstable https://bugs.ruby-lang.org/issues/10093#change-48236 * Author: Man Vuong * Status: Feedback * Priority: Normal * Assignee: * Category: lib * Target version: current: 2.2.0 * ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- SecureRandom.uuid sometimes generates some value like this: e7be09bb-e939-43db-9c20-dfad9c27fd3g And it's not a valid UUID. This problem occurred randomly for me, I don't know how to reproduce :( -- https://bugs.ruby-lang.org/