[BUGFIX] Throw exception if encryption key is not set 84/53784/2
authorHelmut Hummel <typo3@helhum.io>
Thu, 17 Aug 2017 16:41:39 +0000 (18:41 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 22 Aug 2017 20:15:30 +0000 (22:15 +0200)
commita3604d2ab836bb872a00cc12da944f2469e983db
tree6327c26c16bb39af88569c6f0e9268be5e4eb36d
parent8a6a6cc56db89cacd8b61fde743865d4f019abc0
[BUGFIX] Throw exception if encryption key is not set

The encryption key is a vital part to ensure security
of TYPO3. Not having it set (by accident) can lead
to severe security issues.

Therefore enforce it to be set and throw an exception
in case it isn't, instead of just reporting a warning.

Releases: master, 8.7, 7.6
Resolves: #82169
Change-Id: I79c73558d0968ae89a2867d6d5264530f434e1a3
Reviewed-on: https://review.typo3.org/53784
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/lang/Resources/Private/Language/locallang_core.xlf
typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php