You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/04/19 01:30:05 UTC
[jira] [Commented] (TS-652) SSL random buffer initialization should
be checked
[ https://issues.apache.org/jira/browse/TS-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021336#comment-13021336 ]
Leif Hedstrom commented on TS-652:
----------------------------------
Looks like we have three options:
1) Do nothing.
2) Remove the RAND_seed() code entirely.
3) Improve the random buffer used to RAND_seed().
After reading some man pages, and chatting in IRC, I think I'm leaning towards #2. As far as I can tell, all platforms that we care about has a /dev/urandom, which OpenSSL will use transparently to seed the PRNG. #1 is also a viable option, since calling RAND_seed() simply adds more entropy to the PRNG. #3 is only required I think if we ever have to support a platform without a /dev/urandom.
> SSL random buffer initialization should be checked
> --------------------------------------------------
>
> Key: TS-652
> URL: https://issues.apache.org/jira/browse/TS-652
> Project: Traffic Server
> Issue Type: Wish
> Components: SSL
> Reporter: John Plevyak
> Fix For: 2.1.8
>
>
> The way the SSL random buffers are initialized is interesting... it could also be made more efficient
> with the new 64-bit random number generator. It looks like it is using whatever is on the stack
> and then hashing it with 2 different random number generators and skipping the first few bytes...
> why, no idea.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira