Fallback to dev_urandom doesn't work when py_getrandom returns -1
オープン
まだ誰も着手していません。
build
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 32580 |
|---|---|
| Nosy | @vstinner, @jernejs |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2018-01-17.13:11:08.071>
labels = ['build']
title = "Fallback to dev_urandom doesn't work when py_getrandom returns -1"
updated_at = <Date 2018-01-17.20:52:10.985>
user = 'https://github.com/jernejs'
bugs.python.org fields:
activity = <Date 2018-01-17.20:52:10.985>
actor = 'jernejs'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Build']
creation = <Date 2018-01-17.13:11:08.071>
creator = 'jernejs'
dependencies = []
files = ['47389']
hgrepos = []
issue_num = 32580
keywords = ['patch']
message_count = 5.0
messages = ['310158', '310162', '310196', '310197', '310206']
nosy_count = 2.0
nosy_names = ['vstinner', 'jernejs']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue32580'
versions = ['Python 3.5', 'Python 3.6']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、添付された random_fallback.patch を確認し、CPython における py_getrandom の実装とその dev_urandom フォールバックを特定します。py_getrandom が -1 を返した場合の動作を追跡し、その後、利用可能であれば関連する random および build テストを実行します。その戻り値に対してフォールバックが機能し、既存のエントロピーソースの動作を壊さないことが完了の条件です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100