LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-29-2005, 06:48 PM   #1
steve@ez.net
LQ Newbie
 
Registered: Dec 2005
Distribution: redhat
Posts: 13

Rep: Reputation: 0
error message "PRNG not seeded"


I get a strange error code when trying to do a keygen. The error is to the effect of "PRNG not seeded". What does it mean? How is it corrected?
 
Old 12-30-2005, 10:47 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
PRNG stands for PseudoRandom Number Generator which is used to generate reasonably random numbers for cryptographic purposes. Many PRNG algorithms require an initial random number to "seed" the random number generation. In many cases this is some entropic value gathered from the system. Usually this is stored in /dev/random and /dev/urandom. See man pages of rand, random, urandom.

How this applies to your error, I don't know. Could you provide more details about the *exact* command you're using to generate keys, the *exact* error message and preferably any debugging info (most keygen commands have some kind of option for debugging or verbose output).
 
Old 12-31-2005, 02:36 PM   #3
steve@ez.net
LQ Newbie
 
Registered: Dec 2005
Distribution: redhat
Posts: 13

Original Poster
Rep: Reputation: 0
Smile "PRNG not seeded"

Thank you for the prompt and insightful reply.

The error message is

"PRNG not seeded"

It occurs when the following command line is executed:

"keygen -t rsa"

used to generate a key for some ssh (non-password) exchanges.
 
Old 01-01-2006, 07:20 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Can you create standard rsa keys using the openssl commandline toolkit? To generate an private rsa key use:

openssl genrsa -out /path/to/file 1024
 
  


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
"PRNG is not seeded" error when starting OpenSSH server germanbird Slackware 5 01-12-2006 01:31 PM
FC4 not booting w/ message "ERROR opening /dev/console!!!!: 20" Dimension User Fedora 5 10-24-2005 05:03 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
error message when pressing "Next" "BIOS Problems" , help ! HeRCuLeSX Fedora 3 07-21-2004 02:37 PM
Error message "Nautilus has no installed viewer capable of displaying" oracle_37 Linux - Software 1 08-02-2003 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:22 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