image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old May 9th, 2003, 09:21 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
Post Usefulness of EGD (entropy-gathering daemon)?

I recently Finked egd (entropy-gathering daemon), and was wondering how useful it is.

My understanding is only very peripheral. It looks to me like it monitors a network socket or peripheral port and just captures the I/O bits, and uses that as random data.

What applications have access to, and would use this random data?
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iMac Aluminum 24" |
MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
  #2  
Old May 10th, 2003, 09:56 AM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,024
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
The daemon is trying to achieve the closest a computer can get to a truly random state. It does this for the purposes of encryption.

An encryption system, such as PGP, or the keys used by SSH, uses random data to scramble the information it is coding.

Computers can't literally produce random numbers. Everything they do is the result of very precise and repeatable calculations. The random number routines used in computer software use complex mathematics to try and create a series that seems random, but in fact it isn't.

If two identical computers that had been activated at the same time with the same software were told to generate random numbers, they would generate the same numbers. This would create a potential security problem because a skilled hacker would be able to work out how encrypted data is being scrambled and thus unscramble it without needing the key.

So, to get around this, the Entropy Gathering Daemon tries to make the random number routines even more random by using events such as mouse movements and keyboard activity, network calls and disk access all together.

I am not sure which applications use the EGD. I'd suspect that PGP and GnuPG would be among them, though.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #3  
Old May 10th, 2003, 10:54 AM
Visitor
 
Join Date: Jun 2002
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Y Dobon is on a distinguished road
The summary at the EGD website (which I located using Google) adequately answers the questions above. In short, EGD on OS X has limited usefulness since /dev/random already exists.
Reply With Quote
  #4  
Old May 10th, 2003, 01:28 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
Thanks both of you.

I was wondering specifically whether carbon/cocoa applications like Safari would make use of it to generate SSL keys, and also if a random device already existed ( wasn't aware of /dev/random on OS X )

Thanks!
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iMac Aluminum 24" |
MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
  #5  
Old May 10th, 2003, 01:39 PM
chevy's Avatar
Leopardo Da Vinci
 
Join Date: Nov 2001
Location: Inside the black box, CH
Posts: 3,828
Thanks: 0
Thanked 0 Times in 0 Posts
chevy is on a distinguished road
What's the difference between noise and music ?
__________________
My current machine is an iMac Core 2 Duo 2.16 GHz 24" with MacOS X 10.5. My Apples are here. My oldest Apple was born in 1977.
GS/P/>SS d-(++) s+: a+ C+(C) U* P L+ E--- W++ N- o+ K? w O-- M++ V PS+ PE+ Y- PGP t+ 5 X+ R tv-- b+++ DI++ D+ G e+++ h---- r+++ y?
Time is not changing, I'm just traveling through time.
Reply With Quote
  #6  
Old May 10th, 2003, 06:59 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
Taste
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iMac Aluminum 24" |
MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
printer que problems or something holmBrew Mac OS X System & Mac Software 0 July 16th, 2001 10:35 AM


All times are GMT -5. The time now is 09:06 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.