LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2013, 12:43 PM   #1
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Rep: Reputation: Disabled
is it normal that dnssec-keygen be this much slow ?


Hi
is it normal that dnssec-keygen be this much slow ?
i use this command :

Code:
$ sudo dnssec-keygen -a rsasha1 -b 2048 -n ZONE example.com
Generating key pair............
but after several minutes nothing happens.
 
Old 04-17-2013, 03:24 PM   #2
alkk
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
There are no enough entropy in the system; some i/o should resolve that (try to run "find /" in another window)
 
Old 04-17-2013, 04:57 PM   #3
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Original Poster
Rep: Reputation: Disabled
I tried it but nothing changed.
it steel tacks so long and nothing happens .
 
Old 04-17-2013, 07:21 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
alkk is basically right; this requires a of of entropy. Think system usage.
Easiest is to fire this off in one window, then go on with normal work in other windows until its done.
IF no GUI, background the job with '&'.
 
Old 04-19-2013, 06:16 AM   #5
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Original Poster
Rep: Reputation: Disabled
is there a workable way that i could make enough entropy ?
 
Old 04-19-2013, 04:01 PM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Quote:
Originally Posted by ali.abry View Post
is there a workable way that i could make enough entropy ?
No.

Entropy, to be valid, has to be random. "Making" entropy is automatically not random...
 
Old 04-21-2013, 03:15 AM   #7
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Original Poster
Rep: Reputation: Disabled
thanks every one .
so the only fast way that i found is to use /dev/urandom instead of using /dev/random . you can specify the source of random by using -r /dev/urandom in
dnssec-keygen command.
there's also a way in here http://www.howtoforge.com/helping-th...s-debian-lenny
tp make enough entropy . i didn't try it my self

Last edited by ali.abry; 04-21-2013 at 03:16 AM.
 
Old 04-21-2013, 05:50 AM   #8
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
urandom is not really a source of truly random numbers. It is a pseudorandom number generator that (as I understand it) starts from a seed from random, but if the entropy isn't there, it is purely a pseudorandom number generator with its own seed.

The tools you point to would use a hardware random number generator - if it is available. Otherwise it too is a pseudorandom number generator, just a different one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dnssec-keygen hangs jon3k Linux - Software 2 08-23-2015 05:06 PM
dnssec-keygen jittinan2 Linux - Software 1 12-20-2007 04:07 AM
dnssec-keygen jittinan2 Linux - Server 0 12-20-2007 03:53 AM
Slow mouse responsiveness in X, is this normal? orgee Linux - Software 20 10-25-2004 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration