Skip to content

Commit

Permalink
Update the default value of SECRET_KEY to enable deployment checks
Browse files Browse the repository at this point in the history
closes pulp#5529
  • Loading branch information
lubosmj committed Jun 27, 2024
1 parent b2e4e22 commit 7197b17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/5529.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added a note about the default value of the `SECRET_KEY` setting.
3 changes: 2 additions & 1 deletion pulpcore/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
# List of upload handler classes to be applied in order.
FILE_UPLOAD_HANDLERS = ("pulpcore.app.files.HashingFileUploadHandler",)

SECRET_KEY = True
# SECURITY WARNING: this should be set to a unique, unpredictable value
SECRET_KEY = ""

# Key used to encrypt fields in the database
DB_ENCRYPTION_KEY = "/etc/pulp/certs/database_fields.symmetric.key"
Expand Down

0 comments on commit 7197b17

Please sign in to comment.