This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients christian.heimes, dstufft, martin.panter, rhettinger, tim.peters, vstinner
Date 2016-06-11.06:25:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465626301.45.0.965471169964.issue27272@psf.upfronthosting.co.za>
In-reply-to
Content
Victor originally opened this mentioning a 256-byte limit. I guess that comes from Open BSD’s getentropy() function: <http://man.openbsd.org/OpenBSD-current/getentropy.2>. Solaris’s getrandom() function <https://docs.oracle.com/cd/E53394_01/html/E54765/getrandom-2.html> has a similar limit, but of 1024 bytes. But Python already works around these limits by doing multiple calls.

So if it really is valid to get 2500 bytes with as much entropy as possible, maybe there is no problem and we leave things as they are.
History
Date User Action Args
2016-06-11 06:25:01martin.pantersetrecipients: + martin.panter, tim.peters, rhettinger, vstinner, christian.heimes, dstufft
2016-06-11 06:25:01martin.pantersetmessageid: <1465626301.45.0.965471169964.issue27272@psf.upfronthosting.co.za>
2016-06-11 06:25:01martin.panterlinkissue27272 messages
2016-06-11 06:25:01martin.pantercreate