[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-ssl] SSLClientContext



This is a problem of the JDK SecureRandom class which performs extremely
poor on some platforms (most notably Windows 95/98). I actually have to
wonder if the JavaSoft people ever tested them on these platforms as the
performance is obviously unacceptable.

Anyway, the problem is in the seed generation of the SecureRandom class.
For testing you could use something like

import iaik.security.random.*;
import java.util.Random;

    Random random = new Random();
    byte[] seed = new byte[20];
    random.nextBytes(seed);
    MetaSeedGenerator.setSeed(seed);
    SeedGenerator.setDefault(MetaSeedGenerator.class);

However, this is not secure and should NOT be used in real world
environments where you should write your own seed generator.

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.tu-graz.ac.at


-----Ursprüngliche Nachricht-----
Von: Frank Blair <fblair@unicom.net>
An: <iaik-ssl@iaik.tu-graz.ac.at>
Gesendet: Montag, 09. August 1999 19:26
Betreff: [iaik-ssl] SSLClientContext


> I'm doing an evaluation using iSaSiLk and having a problem with long
> delays in getting an SSLClientContext returned.  Other standard java
> networking calls are functioning (i.e. Socket), but this delay can be
as
> much as 8-10 minutes and on several occasions, the call did not return
> after as much as 90 minutes.
>
> Is this a known probleM?  Is there a solution or a way to force it to
> timeout after an amount of time?
>
> Thanks
> - Frank Blair
>
> --
> -------------------------------------------------------------------
> "You cannot depend on your eyes
>                  if your imagination is out of focus" -- Mark Twain
> -------------------------------------------------------------------
> ***** *****       Frank Blair                 fblair@unicom.net
>  ***   ***        Applications Development    http://www.ucn.com
>   *     *
>    *****          Unicom Communications, Inc. (913) 327-5362
>     ***           7223 W 95th St., Suite 325  (913) 327-5376 Fax
>      *            Overland Park, KS 66212     (913) 327-5300 Main
> -------------------------------------------------------------------
> --
> Mailinglist-archive at
http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-ssl/maillist.html
>
> To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the
folowing content: UNSUBSCRIBE iaik-ssl
>
>
>



smime.p7s