mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-16 23:43:03 +00:00
User valves (per-user API keys/config for tools and functions) were stored as plaintext JSON in the database. This adds Fernet symmetric encryption at the model layer so valve data is encrypted at rest. - Uses WEBUI_SECRET_KEY for encryption (no extra env var needed) - Add valve_encryption.py with encrypt/decrypt helpers using Fernet - Wire encrypt/decrypt in tools and functions model get/update methods - Add migration 019 to encrypt existing plaintext valve data - Backward compatible: decrypt_user_valves handles legacy plaintext dicts Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| data | ||
| open_webui | ||
| .dockerignore | ||
| .gitignore | ||
| dev.sh | ||
| requirements-min.txt | ||
| requirements.txt | ||
| start.sh | ||
| start_windows.bat | ||