can't connect to .../entropy

Leigh S. Jones, KR6X kr6x@kr6x.com
Mon Jun 3 20:48:02 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0051_01C20AF4.FF6D8220
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

can't connect to .../entropyIn this case =
`/users/dthorbur/.gnupg/entropy' is the virtual device
that gpg expects to find for use as a random number generator.  This
is sometimes changed by compiling gpg again, this time with=20
configuration changes that point to a different random number=20
generator, or sometimes handled by putting a link at=20
~/.gnupg/entropy that points to an appropriate random number=20
generator.  It should be pointed out here that the old style UNIX
pseudorandom number generator that is tapped into by many C
functions is not acceptable as an encryption entropy source. =20
On Linux systems there is a wonderful "/dev/random" virtual device
that will be used by the default gpg setup, but it is not a part of=20
Solaris.  Read up on "egd" at the gnupg.org site to find one possible
solution to your entropy issues.

Frankly, I've never actually gone the distance and built an entropy
source for Solaris although I do have a need to do the task on both
SunOS 4.1.4 and on Solaris 2.5 at some time in the future.  I've also
built gpg 1.0.6 on HPUX 10.2.  Anything you experience in this
endeavor I'd like to hear about because I'm planning to build 1.0.7
for all these platforms in the future.  Using 1.0.6 I've never=20
encountered the error message you reported while signing.  Odd that
you should in 1.0.7 by my way of thinking; signing shouldn't actually=20
require entropy, only encryption and key creation...
=20
  ----- Original Message -----=20
  From: David T-G=20
  To: GnuPG Users' List=20
  Sent: Monday, June 03, 2002 11:21
  Subject: can't connect to .../entropy


  Hi, all --=20

  I have just installed gpg 1.0.7 on our Solaris boxes and I get the=20
  following output:=20

    bash-2.05a$ gpg --detach-sign /tmp/list=20

    You need a passphrase to unlock the secret key for=20
    user: "David T-G (at ITT) <david.thorburn-gundlach@itt.com>"=20
    1024-bit DSA key, ID 46D6DE1D, created 2002-06-03=20

    gpg: fatal: can't connect to `/users/dthorbur/.gnupg/entropy': No =
such file or directory=20
    secmem usage: 2560/2720 bytes in 5/6 blocks of pool 2720/16384=20

  What do I need to do for this?  It's Solaris 2.6 and 8, plus one of =
these=20
  days SunOS 4.1.4 (Solaris 1.1) and HP-UX 10.20 and 11.11.=20



  TIA & HAND=20

  :-D=20
  --=20
  David T-G                      * It's easier to fight for one's =
principles=20
  (play) davidtg@justpickone.org * than to live up to them. -- fortune =
cookie=20
  (work) davidtgwork@justpickone.org=20
  http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl =
Npg!=20


------=_NextPart_000_0051_01C20AF4.FF6D8220
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>can't connect to .../entropy</TITLE>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3504.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>In this =
case=20
`/users/dthorbur/.gnupg/entropy' is the virtual device</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>that gpg =
expects to find=20
for use as a random number generator.&nbsp; This</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>is =
sometimes changed by=20
compiling gpg again, this time with </FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" =
size=3D2>configuration changes=20
that point to a different random number </FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" =
size=3D2>generator,&nbsp;or=20
sometimes handled by putting a link&nbsp;at </FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" =
size=3D2>~/.gnupg/entropy that=20
points to an appropriate random number </FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" =
size=3D2>generator.&nbsp; It=20
should be pointed out here that the old style UNIX</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" =
size=3D2>pseudorandom number=20
generator that is tapped into by many C</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>functions =
is not=20
acceptable as an encryption entropy source.&nbsp; </FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>On Linux =
systems there is=20
a wonderful "/dev/random" virtual device</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>that will =
be used by the=20
default gpg setup, but it is not a part of </FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" =
size=3D2>Solaris.&nbsp; Read up on=20
"egd" at the gnupg.org site to find one possible</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>solution =
</FONT><FONT=20
color=3D#000080 face=3D"Times New Roman" size=3D2>to your entropy =
</FONT><FONT=20
color=3D#000080 face=3D"Times New Roman" size=3D2>issues.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>Frankly, =
I've never=20
actually gone the distance and built an entropy</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>source for =
Solaris=20
although I do have a need to do the task on both</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>SunOS 4.1.4 =
and on=20
Solaris 2.5 at some time in the future.&nbsp; I've also</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>built gpg =
1.0.6 on HPUX=20
10.2.&nbsp; Anything you experience in this</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>endeavor =
I'd like to hear=20
about because I'm planning to build 1.0.7</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>for all =
these platforms=20
in the future.&nbsp;&nbsp;Using 1.0.6 I've never </FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>encountered =
the error=20
message you reported while signing.&nbsp; Odd that</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>you should =
in 1.0.7 by my=20
way of thinking; signing shouldn't actually </FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" size=3D2>require =
entropy,=20
only</FONT><FONT color=3D#000080 face=3D"Times New Roman" size=3D2> =
encryption and key=20
creation...</FONT></DIV>
<DIV><FONT color=3D#000080 face=3D"Times New Roman" =
size=3D2>&nbsp;</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:davidtg-gnupg@justpickone.org"=20
  title=3Ddavidtg-gnupg@justpickone.org>David T-G</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:gnupg-users@gnupg.org" =
title=3Dgnupg-users@gnupg.org>GnuPG Users'=20
  List</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, June 03, 2002 =
11:21</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> can't connect to=20
  .../entropy</DIV>
  <DIV><BR></DIV>
  <P><FONT size=3D2>Hi, all --</FONT> </P>
  <P><FONT size=3D2>I have just installed gpg 1.0.7 on our Solaris boxes =
and I get=20
  the</FONT> <BR><FONT size=3D2>following output:</FONT> </P>
  <P><FONT size=3D2>&nbsp; bash-2.05a$ gpg --detach-sign =
/tmp/list</FONT> </P>
  <P><FONT size=3D2>&nbsp; You need a passphrase to unlock the secret =
key=20
  for</FONT> <BR><FONT size=3D2>&nbsp; user: "David T-G (at ITT) &lt;<A=20
  =
href=3D"mailto:david.thorburn-gundlach@itt.com">david.thorburn-gundlach@i=
tt.com</A>&gt;"</FONT>=20
  <BR><FONT size=3D2>&nbsp; 1024-bit DSA key, ID 46D6DE1D, created=20
  2002-06-03</FONT> </P>
  <P><FONT size=3D2>&nbsp; gpg: fatal: can't connect to=20
  `/users/dthorbur/.gnupg/entropy': No such file or directory</FONT> =
<BR><FONT=20
  size=3D2>&nbsp; secmem usage: 2560/2720 bytes in 5/6 blocks of pool=20
  2720/16384</FONT> </P>
  <P><FONT size=3D2>What do I need to do for this?&nbsp; It's Solaris =
2.6 and 8,=20
  plus one of these</FONT> <BR><FONT size=3D2>days SunOS 4.1.4 (Solaris =
1.1) and=20
  HP-UX 10.20 and 11.11.</FONT> </P><BR>
  <P><FONT size=3D2>TIA &amp; HAND</FONT> </P>
  <P><FONT size=3D2>:-D</FONT> <BR><FONT size=3D2>-- </FONT><BR><FONT =
size=3D2>David=20
  =
T-G&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  * It's easier to fight for one's principles</FONT> <BR><FONT =
size=3D2>(play)=20
  davidtg@justpickone.org * than to live up to them. -- fortune =
cookie</FONT>=20
  <BR><FONT size=3D2>(work) davidtgwork@justpickone.org</FONT> <BR><FONT =
size=3D2><A=20
  href=3D"http://www.justpickone.org/davidtg/"=20
  =
target=3D_blank>http://www.justpickone.org/davidtg/</A>&nbsp;&nbsp;&nbsp;=
 Shpx=20
  gur Pbzzhavpngvbaf Qrprapl Npg!</FONT> </P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0051_01C20AF4.FF6D8220--