[TASK] Install steps: Load saltedpasswords and rsaauth 24/21924/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 5 Jul 2013 12:24:00 +0000 (14:24 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 5 Jul 2013 13:06:44 +0000 (15:06 +0200)
Change factory configuration to include settings for saltedpasswords
and rsaauth so they are loaded by default if installation is
completed. PhpPass is used as default salt algorithm since this
is a better than salted md5 and has no additional system
depencies.

Resolves: #49694
Related: #49162
Releases: 6.2

Change-Id: Ib01628dc2cb80082e8dbd3a5f6c1f24cc5aae589
Reviewed-on: https://review.typo3.org/21924
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/core/Configuration/FactoryConfiguration.php

index 75dbc55..cc74a45 100644 (file)
@@ -11,11 +11,16 @@ return array(
                'fileCreateMask' => '0664',
                'folderCreateMask' => '2774',
                'installToolPassword' => 'bacb98acf97e0b6112b1d1b650b84971',
+               'loginSecurityLevel' => 'rsa',
        ),
        'DB' => array(
                'extTablesDefinitionScript' => 'extTables.php',
        ),
        'EXT' => array(
+               'extConf' => array(
+                       'rsaauth' => 'a:1:{s:18:"temporaryDirectory";s:0:"";}',
+                       'saltedpasswords' => 'a:7:{s:20:"checkConfigurationFE";s:1:"0";s:20:"checkConfigurationBE";s:1:"0";s:3:"FE.";a:5:{s:7:"enabled";s:1:"1";s:21:"saltedPWHashingMethod";s:41:"TYPO3\\CMS\\Saltedpasswords\\Salt\\PhpassSalt";s:11:"forceSalted";s:1:"0";s:15:"onlyAuthService";s:1:"0";s:12:"updatePasswd";s:1:"1";}s:3:"BE.";a:5:{s:7:"enabled";s:1:"1";s:21:"saltedPWHashingMethod";s:41:"TYPO3\\CMS\\Saltedpasswords\\Salt\\PhpassSalt";s:11:"forceSalted";s:1:"0";s:15:"onlyAuthService";s:1:"0";s:12:"updatePasswd";s:1:"1";}s:21:"checkConfigurationFE2";s:1:"0";s:21:"checkConfigurationBE2";s:1:"0";s:8:"__meta__";N;}',
+               ),
                'extListArray' => array(
                        'info',
                        'perm',
@@ -51,8 +56,13 @@ return array(
                        'reports',
                        'felogin',
                        'form',
+                       'saltedpasswords',
+                       'rsaauth',
                ),
        ),
+       'FE' => array(
+               'loginSecurityLevel' => 'rsa',
+       ),
        'GFX' => array(
                'jpg_quality' => '80',
        ),