Add encryption support to `use_user_data` hook
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by tracing the use_user_data hook and the UserDataModel and ComponentSession definitions, then inspect settings.py and the manage.py command entry points. The work is complete when encrypted storage, key rotation, the reactpy_upgrade_data_encryption command, the deploy warning, and short or low-entropy key warnings are covered.
索引モデルが issue の本文から書いたものです。
説明
Current Situation
Our use_user_data hook stores user data as unencrypted binary. If the user wants to encrypt certain key/values, this needs to be done manually which is highly inconvenient.
Proposed Actions
Add built-in encryption support to this hook. This design will be inspired by django-searchable-encrypted-fields.
Based on that library, here's a few specifics about the implementation:
- Create
settings.py:REACTPY_USER_DATA_ENCRYPTION_KEYS: list - Add
encrypted = models.BooleanField(default=False)toUserDataModelandComponentSession - Add new
manage.py reactpy_upgrade_data_encryptionmanagement command.- Encryption keys are upgraded lazily by default, but this command will be used to manually upgrade all data to the newest encryption key.
- Add a check to
manage.py check --deploythat warns if encryption is not enabled. - Warn if encryption keys are too short or lack entropy.
- 主要言語
- Python
- スター
- 357
- フォーク
- 22
- 平均マージ
- 10時間 31分
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
reactive-python/reactpy-django のほかの issue
-
Add coverage tests オープンcomplexity: 3 (low) priority: 3 (low) type: ci
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
complexity: 1 (high) priority: 1 (high)
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
complexity: 2 (medium) priority: 3 (low)
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
complexity: 2 (medium) priority: 3 (low)
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
complexity: 1 (high) priority: 2 (moderate)
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
reactive-python/reactpy-django の issue をすべて見る
似ている issue
-
link-check link-check:sphinx-theme
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
CSCfi/sd-search-api#39 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100