[BUGFIX] Throw exception if encryption key is not set 85/53785/3
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:27:04 +0000 (22:27 +0200)
commitf95c5c6105cfa770579cba963783bdd77950389b
tree44876f057ae93ac76cef4f98c90694f7ce588e64
parent3b186312366c00927f83c27e6e513000fe286f66
[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/53785
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Build/Configuration/FunctionalTestsConfiguration.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php