On Thu, Sep 26, 2024 at 06:41:17AM +0000, Stefano Calisto via IBM TechXchange Community wrote:
> Hi there
>
>
> I have a strange symptom while using /dev/urandom on different systems with the same os-level being 7200-05-07-2346.
>
>
> When I issue the following command (for random password generation)
>
>
> Expected behaviour (15 chars) =>
>
> QTzFHfP3iWuwmcn
>
>
> on another system
>
>
> Strange behaviour (only 2 chars or even nothing) =>
>
> Ck
I wonder if that's indicating an exhaustion of the random pool. I know
in Linux there was a difference between random and urandom, where one
was cryptographically sound random numbers but very slow to generate,
and the other was fast pseudo random numbers. The slow one would block
or not output if there were none available.
Perhaps you might consider:
openssl rand -base64 16 | tr -d \=
------------------------------------------------------------------
Russell Adams
Russell.Adams@AdamsSystems.nlPrincipal Consultant Adams Systems Consultancy
https://adamssystems.nl/