Add encryption support to `use_user_data` hook
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 357
- Forks
- 22
- Merge médio
- 10h 31min
- PRs com merge (30d)
- 2
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de reactive-python/reactpy-django
-
Add coverage tests Abertacomplexity: 3 (low) priority: 3 (low) type: ci
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
-
complexity: 1 (high) priority: 1 (high)
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
-
complexity: 2 (medium) priority: 3 (low)
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
-
complexity: 2 (medium) priority: 3 (low)
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
-
`pyscript_router` component Abertacomplexity: 1 (high) priority: 2 (moderate)
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
Todas as issues de reactive-python/reactpy-django
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
zostera/django-bootstrap4#894 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
use-agent-os/agent-os#3276 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
NousResearch/hermes-agent#117848 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
zilliztech/memsearch#759 ·