<div dir="ltr">Hi Dick,<div><br></div><div>I forgot to mention another informations, </div><div><br></div><div>- The difference between after boot time (GUI) and  "Jan 04 05:18:35 debian kernel: random: crng init done" is 20sec</div><div>- When i reset the hwclock time to 

<span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Jan 1, 1970</span> (Reference) it boot fast but decryption of key using OpenPGP fails. <br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font color="#444444" face="Arial, sans-serif"><span style="font-size:12px"><br></span></font></div><div><font color="#444444" face="Arial, sans-serif"><span style="font-size:12px">Thanks & Regards,</span></font></div><font color="#444444" face="Arial, sans-serif"><span style="font-size:12px">Vigneshwaran K</span></font></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 5, 2020 at 7:28 PM Vigneshwaran K <<a href="mailto:vigneshwaran.k@vortexindia.co.in">vigneshwaran.k@vortexindia.co.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Dick,<div><br></div><div>For my case the subtraction of time is 1 sec from this "<b>journalctl | grep crng</b>" command output.</div><div><br></div><div>FYR,</div><div>Jan 04 05:18:34 debian kernel: random: get_random_bytes called from start_kernel+0x81/0x45f with crng_init=0<br>Jan 04 05:18:35 debian kernel: random: crng init done</div><div><br></div><div>Is there any RC for this issue?. I literally spent the whole week debugging this issue but nothing helps. </div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><font color="#444444" face="Arial, sans-serif"><span style="font-size:12px">Thanks & Regards,</span></font></div><font color="#444444" face="Arial, sans-serif"><span style="font-size:12px">Vigneshwaran K</span></font></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 5, 2020 at 6:27 PM Dick Middleton <<a href="mailto:dick@fouter.net" target="_blank">dick@fouter.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2020-06-05 13:39, Vigneshwaran K wrote:<br>
> Hi,<br>
> <br>
> We are using a mandos client to unlock the crypt disk at boot stage in that we are facing<br>
> an issue.  For this issue we need your help for further debugging and resolution.<br>
> *<br>
> *<br>
> *The issue is:* It halts exactly at *"Initializing GPGME"*  for 3 minutes and then<br>
> continues booting.<br>
> <br>
> *PS: *If any key press action happens within the specified time it boots immediately.<br>
<br>
Maybe this the same issue as I had with low entropy?<br>
<br>
You can get a good idea of how long the wait for entropy is by doing:<br>
<br>
 journalctl | grep crng<br>
<br>
when you'll get something like this for each boot:<br>
<br>
Feb 13 12:01:19 penguin kernel: random: get_random_u64 called from<br>
__kmem_cache_create+0x3e/0x520 with crng_init=0<br>
Feb 13 12:01:26 penguin kernel: random: crng init done<br>
<br>
Subtract the times and ...<br>
<br>
If that is the answer then there are entropy generator programs or hardware devices you<br>
can use.<br>
<br>
I hope that helps<br>
<br>
Dick<br>
_______________________________________________<br>
Mandos-Dev mailing list<br>
<a href="mailto:Mandos-Dev@recompile.se" target="_blank">Mandos-Dev@recompile.se</a><br>
<a href="https://mail.recompile.se/cgi-bin/mailman/listinfo/mandos-dev" rel="noreferrer" target="_blank">https://mail.recompile.se/cgi-bin/mailman/listinfo/mandos-dev</a><br>
</blockquote></div>
</blockquote></div>