➜

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.

作者 vstinner
收信人 alex, christian.heimes, neologix, vstinner
日期 2014-08-15.20:13:54
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1408133635.07.0.131902740016.issue22181@psf.upfronthosting.co.za>
In-reply-to
内容
Manual page of the OpenBSD getentropy() function:
http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/getentropy.2

LibreSSL didn't wait for the libc, search for getentropy_getrandom():
http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/src/lib/libcrypto/crypto/getentropy_linux.c?rev=1.32&content-type=text/x-cvsweb-markup

The code is currently disabled with "#if 0". The syscall is directly used, the function doesn't handle the ENOSYS error.

See also this issue of the cryptography project, "Use getentropy(2) and getrandom(2) syscalls when available 1299":
https://github.com/pyca/cryptography/issues/1299
历史
日期 用户 动作 参数
2014-08-15 20:13:55vstinner修改recipients: + vstinner, christian.heimes, alex, neologix
2014-08-15 20:13:55vstinner修改messageid: <1408133635.07.0.131902740016.issue22181@psf.upfronthosting.co.za>
2014-08-15 20:13:55vstinner链接issue22181 messages
2014-08-15 20:13:55vstinner创建