TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Blocking os.urandom calls in Python = 3.6

2 点作者 jbaviat超过 6 年前
In Python 3.6 os.urandom went blocking [1]. As an attacker, how would you destroy the system&#x27;s entropy to make these calls block (and thus make Python block)? E.g. uuid.uuid4 is now blocking [2].<p>[1] https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0524&#x2F;<p>[2] https:&#x2F;&#x2F;github.com&#x2F;python&#x2F;cpython&#x2F;blob&#x2F;8b9c33ea9ce902f902c9d9900121010801950547&#x2F;Lib&#x2F;uuid.py#L759

1 comment

detaro超过 6 年前
What do you mean by &quot;destroy the system&#x27;s entropy&quot;&#x2F;what attack scenario do you see?
评论 #18487309 未加载