Add support for encryption key (#108)

pull/116/head
Stefano Ortolani 2024-08-13 14:23:37 +01:00 committed by GitHub
parent eaba308269
commit a8ea7e0923
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 4 deletions

View File

@ -104,10 +104,6 @@
"Security.check_sec_fetch_site_header": { "Security.check_sec_fetch_site_header": {
"default_value": true "default_value": true
}, },
"Security.encryption_key": {
"default_value": "",
"command_args": "-f"
},
"Security.username_in_response_header": { "Security.username_in_response_header": {
"default_value": true "default_value": true
}, },

View File

@ -26,5 +26,9 @@
}, },
"Plugin.Export_services_url": { "Plugin.Export_services_url": {
"default_value": "${MISP_MODULES_FQDN}" "default_value": "${MISP_MODULES_FQDN}"
},
"Security.encryption_key": {
"default_value": "${ENCRYPTION_KEY}",
"command_args": "-f"
} }
} }

View File

@ -89,6 +89,7 @@ services:
- "DISABLE_IPV6=${DISABLE_IPV6}" - "DISABLE_IPV6=${DISABLE_IPV6}"
- "DISABLE_SSL_REDIRECT=${DISABLE_SSL_REDIRECT}" - "DISABLE_SSL_REDIRECT=${DISABLE_SSL_REDIRECT}"
- "ENABLE_DB_SETTINGS=${ENABLE_DB_SETTINGS}" - "ENABLE_DB_SETTINGS=${ENABLE_DB_SETTINGS}"
- "ENCRYPTION_KEY=${ENCRYPTION_KEY}"
# standard settings # standard settings
- "ADMIN_EMAIL=${ADMIN_EMAIL}" - "ADMIN_EMAIL=${ADMIN_EMAIL}"
- "ADMIN_PASSWORD=${ADMIN_PASSWORD}" - "ADMIN_PASSWORD=${ADMIN_PASSWORD}"

View File

@ -44,6 +44,8 @@ CRON_USER_ID=
BASE_URL= BASE_URL=
# store settings in db except those that must stay in config.php. true/false, defaults to false # store settings in db except those that must stay in config.php. true/false, defaults to false
ENABLE_DB_SETTINGS= ENABLE_DB_SETTINGS=
# encryption key. defaults to empty string
ENCRYPTION_KEY=
# defines the FQDN of the mail sub-system (defaults to 'mail') # defines the FQDN of the mail sub-system (defaults to 'mail')
# SMTP_FQDN= # SMTP_FQDN=