<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: random number generator ... not seeded in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861422#M96287</link>
    <description>The OpenSSL req.c command has a -rand option too. &lt;BR /&gt;try and add a -rand /home/entropy to these lines in &lt;BR /&gt;grid-cert-request.in and grid-cert-request&lt;BR /&gt;&lt;BR /&gt;       ${SSLEAY} req -new -keyout ${KEY_FILE} -out ${REQ_OUTPUT}                  -config ${SSLEAY_USER_CONFIG} ${NO_DES}&lt;BR /&gt;and &lt;BR /&gt;       ${SSLEAY} req -new -keyout ${KEY_FILE}                  -out ${REQ_OUTPUT} -config ${used_config}                  ${NO_DES} &amp;lt; ${REQ_INPUT}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also looking closer, it look like it will create a .rnd file&lt;BR /&gt;for you if you have the RANDFILE=$ENV::HOME/.rnd&lt;BR /&gt;set in the globus-user-ssleay.conf &lt;BR /&gt;&lt;BR /&gt;The app_RAND_ routines in apps/app_rand.c will check if&lt;BR /&gt;the RANDFILE is a EGD socket and not try and write to it. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The GSI will also try and call the EGD using the OpenSSL interface,&lt;BR /&gt;from src/Security/gssapi_ssleay/sslutils.c. See the comments which &lt;BR /&gt;start at line 325. But I have not tried the EGD this myself. &lt;BR /&gt;&lt;BR /&gt;Can you try and set the EDG_PATH to point to your socket?&lt;BR /&gt;&lt;BR /&gt;The GSI code does try and add some extra randomness, and will use the &lt;BR /&gt;$HOME/.rnd or RANDFILE if set.  &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;   351  #if SSLEAY_VERSION_NUMBER &amp;gt;=  0x0090581fL&lt;BR /&gt;   352          /*&lt;BR /&gt;   353           * Try to use the Entropy Garthering Deamon&lt;BR /&gt;   354           * See the OpenSSL crypto/rand/rand_egd.c&lt;BR /&gt;   355           */&lt;BR /&gt;   356          egd_path = getenv("EGD_PATH");&lt;BR /&gt;   357          if (egd_path == NULL) {&lt;BR /&gt;   358              egd_path = "/etc/entropy";&lt;BR /&gt;   359          }&lt;BR /&gt;   360          RAND_egd(egd_path);&lt;BR /&gt;   361  #endif&lt;BR /&gt;   362&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Dec 2002 21:03:27 GMT</pubDate>
    <dc:creator>Paul Sperry</dc:creator>
    <dc:date>2002-12-10T21:03:27Z</dc:date>
    <item>
      <title>random number generator ... not seeded</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861420#M96285</link>
      <description>I'm trying to generate a secure key set using openssl in Apache.  I keep getting an error stating that the random number generator:SSLEAY_RAND_BYTES:PRNG: not seeded.  What's that all about?</description>
      <pubDate>Tue, 10 Dec 2002 18:08:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861420#M96285</guid>
      <dc:creator>Terrence Johnson</dc:creator>
      <dc:date>2002-12-10T18:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: random number generator ... not seeded</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861421#M96286</link>
      <description>See if this helps -&amp;gt; &lt;A href="http://groups.google.com/groups?hl=en&amp;amp;lr=&amp;amp;ie=UTF-8&amp;amp;threadm=9me1cj%24iqv%241%40FreeBSD.csie.NCTU.edu.tw&amp;amp;rnum=12&amp;amp;prev=/groups%3Fq%3Dapache%2BSSLEAY_RAND_BYTES:PRNG:%2Bnot%2Bseeded.%26hl%3Den%26lr%3D%26ie%3DUTF-8%26start%3D10%26sa%3DN" target="_blank"&gt;http://groups.google.com/groups?hl=en&amp;amp;lr=&amp;amp;ie=UTF-8&amp;amp;threadm=9me1cj%24iqv%241%40FreeBSD.csie.NCTU.edu.tw&amp;amp;rnum=12&amp;amp;prev=/groups%3Fq%3Dapache%2BSSLEAY_RAND_BYTES:PRNG:%2Bnot%2Bseeded.%26hl%3Den%26lr%3D%26ie%3DUTF-8%26start%3D10%26sa%3DN&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 10 Dec 2002 19:25:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861421#M96286</guid>
      <dc:creator>Tom Jackson</dc:creator>
      <dc:date>2002-12-10T19:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: random number generator ... not seeded</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861422#M96287</link>
      <description>The OpenSSL req.c command has a -rand option too. &lt;BR /&gt;try and add a -rand /home/entropy to these lines in &lt;BR /&gt;grid-cert-request.in and grid-cert-request&lt;BR /&gt;&lt;BR /&gt;       ${SSLEAY} req -new -keyout ${KEY_FILE} -out ${REQ_OUTPUT}                  -config ${SSLEAY_USER_CONFIG} ${NO_DES}&lt;BR /&gt;and &lt;BR /&gt;       ${SSLEAY} req -new -keyout ${KEY_FILE}                  -out ${REQ_OUTPUT} -config ${used_config}                  ${NO_DES} &amp;lt; ${REQ_INPUT}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also looking closer, it look like it will create a .rnd file&lt;BR /&gt;for you if you have the RANDFILE=$ENV::HOME/.rnd&lt;BR /&gt;set in the globus-user-ssleay.conf &lt;BR /&gt;&lt;BR /&gt;The app_RAND_ routines in apps/app_rand.c will check if&lt;BR /&gt;the RANDFILE is a EGD socket and not try and write to it. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The GSI will also try and call the EGD using the OpenSSL interface,&lt;BR /&gt;from src/Security/gssapi_ssleay/sslutils.c. See the comments which &lt;BR /&gt;start at line 325. But I have not tried the EGD this myself. &lt;BR /&gt;&lt;BR /&gt;Can you try and set the EDG_PATH to point to your socket?&lt;BR /&gt;&lt;BR /&gt;The GSI code does try and add some extra randomness, and will use the &lt;BR /&gt;$HOME/.rnd or RANDFILE if set.  &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;   351  #if SSLEAY_VERSION_NUMBER &amp;gt;=  0x0090581fL&lt;BR /&gt;   352          /*&lt;BR /&gt;   353           * Try to use the Entropy Garthering Deamon&lt;BR /&gt;   354           * See the OpenSSL crypto/rand/rand_egd.c&lt;BR /&gt;   355           */&lt;BR /&gt;   356          egd_path = getenv("EGD_PATH");&lt;BR /&gt;   357          if (egd_path == NULL) {&lt;BR /&gt;   358              egd_path = "/etc/entropy";&lt;BR /&gt;   359          }&lt;BR /&gt;   360          RAND_egd(egd_path);&lt;BR /&gt;   361  #endif&lt;BR /&gt;   362&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Dec 2002 21:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861422#M96287</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2002-12-10T21:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: random number generator ... not seeded</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861423#M96288</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It is looking for /dev/urandom random seed generator device file.&lt;BR /&gt;&lt;BR /&gt;HP-UX 11i v1.6 has kernel support for that device file. ( Not Installed by default)&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.x and 10.x don;t have support for this file. You have use some other random generator&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Dec 2002 08:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/random-number-generator-not-seeded/m-p/2861423#M96288</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-12-11T08:14:55Z</dc:date>
    </item>
  </channel>
</rss>

