-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"random: crng init done" string appear on the luks passphrase enter step #8003
Comments
TL;DR: ignore the message and enter your password as if the message(s) wasn't there. Solutions to speed up the PRNG init are below. “random: crng init done”, is related to the kernel initializing the pseudo-random number generator (PRNG, in /dev/[u]random). Sometimes it needs more time than usual to initialize, because the system does not have enough data to produce proper (pseudo-)randomness. What happens is that the PRNG takes time to initialize, and reports back on tty1/VT1 AFTER the LUKS password is requested. Anyways, the "fun" thing is you can still type your password and it will work. If it really freaks you out, you can speed up the PRNG initialization by :
If you want a more detailed answer about the PRNG, check this: https://stackoverflow.com/questions/59249941/what-is-random-crng-init-done/61238433#61238433 |
TL;DR for maintainers: not a bug |
Closing as "not a bug" (the reported behavior is not a bug and is already working as intended). If anyone believes this is a mistake, please leave a comment, and we'll be happy to take another look. Thank you. |
While it's not a bug, users may be disturbed by this message : "what should I do ?".
Suggestions :
About Ressources : |
If this message shows up only when the user manually switches to a VT (away from the default GUI), then I don't think it's a problem, because this is an advanced user (or at least wants to act like one), and advanced users can be expected to look up messages first before being freaked out by them. ;) |
Ok, it won't solve the boot speed problems on affected machines, but that makes sense ;) |
FYI, I don't have anymore "random: crng init done" string appearing during the boot. |
How to file a helpful issue
Qubes OS release
R4.1.1
Brief summary
I see a "random: crng init done" string on the luks passphrase enter step when I hide Plymouth boot screen.
Steps to reproduce
Boot as usual. When you see Plymouth Boot Screen push left arrow button to hide the screen. You will see "Please enter passphrase for disk ..."
Wait couple of seconds and "...random: crng init done..." string will appear.
It might be a security issue.
Please have a look a video of the issue here https://twitter.com/almaz_aliev_/status/1609217144683745280?s=20&t=95ua5nZhJza-FLWogRfWsA
Expected behavior
I shouldn't see anything except my hidden passphrase
Actual behavior
"...random: crng init done..." string appear at the passphrase entering step
The text was updated successfully, but these errors were encountered: