Skip to contentSkip to conversation

hang generating DSA keys

Buildroot Frank Hoeflich 3 participants 3 messages May 24, 2009 – Jun 2, 2009

lore
Share & tools
lore
#0 lore raw

The entropy mechanism depends on keyboard input - I'd expect it to be waiting for I/O.? If you type some characters it will use them to generate the keys and be on its way.

--Frank

>Sunday, May 24, 2009 12:21 AM

>From: "Peter Korsgaard" <[email protected]>

>To: "Chris Bare" <[email protected]>

>Cc: buildroot at lists.busybox.net

Quoted 10 lines · >>>>> "Chris" == Chris Bare <[email protected]> writes:

Chris> Generating DSA Key...
Chris> THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!

Chris> Generating public/private dsa key pair.

Chris> I let it sit overnight and it never finished. I remember Chris> seeing some mention of this being an entropy problem. I tried Chris> pinging the board, but that didn't seem to help.

Quoted 8 lines

Chris> Any idea why this would suddenly start with the same basic Chris> setup that worked before?? How do I get it to finish Chris> generating the key?

Sounds odd - Could you add strace and check what it's busy doing?

Signature · 1 line
Bye, Peter Korsgaard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090524/ebeab4d7/attachment.htm>

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hoeflich <[email protected]> writes:

Frank> The entropy mechanism depends on keyboard input - I'd expect Frank> it to be waiting for I/O. If you type some characters it will Frank> use them to generate the keys and be on its way.

Yes, if the programs are using /dev/random instead of /dev/urandom. Is this openssh or dropbear? Dropbear uses /dev/urandom by default, but I don't know what openssh does.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Frank" == Frank Hoeflich <[email protected]> writes:

Frank> The entropy mechanism depends on keyboard input - I'd expect Frank> it to be waiting for I/O. If you type some characters it will Frank> use them to generate the keys and be on its way.

Yes, if the programs are using /dev/random instead of /dev/urandom. Is this openssh or dropbear? Dropbear uses /dev/urandom by default, but I don't know what openssh does.

sorry for the delay in replying. This was openssh. I ended up disabling it for now since I can do everything I need on the console.

Signature · 2 lines
Chris Bare
chris at bareflix.com