Project

General

Profile

Actions

Bug #88794

closed

Call to undefined method TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::checkPassword() on report module

Added by Philippe COURT over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Category:
Reports
Start date:
2019-07-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Error {#2795 ▼
#message: "Call to undefined method TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::checkPassword()"
#code: 0
#file: "/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/install/Classes/Report/SecurityStatusReport.php"
#line: 65
trace: {▼
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/install/Classes/Report/SecurityStatusReport.php:65 {▼
› if ($installToolPassword !== '' && $hashInstance === null) {
› $validPassword = !$hashFactory->checkPassword('joh316', $installToolPassword);
› } elseif ($installToolPassword === md5('joh316')) {
}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/install/Classes/Report/SecurityStatusReport.php:39 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/reports/Classes/Report/Status/Status.php:95 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/reports/Classes/Report/Status/Status.php:55 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/reports/Classes/Controller/ReportController.php:163 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/reports/Classes/Controller/ReportController.php:109 {▶}
TYPO3\CMS\Reports\Controller\ReportController->handleRequest() {}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Http/RouteDispatcher.php:87 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Http/RequestHandler.php:73 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/SiteResolver.php:59 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/AdditionalResponseHeaders.php:39 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/OutputCompression.php:45 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/LegacyBackendTemplateInitialization.php:42 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/BackendUserAuthenticator.php:70 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php:72 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/ForcedHttpsBackendRedirector.php:53 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Middleware/LockedBackendGuard.php:71 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php:58 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:67 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/AbstractApplication.php:98 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/backend/Classes/Http/Application.php:68 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/sysext/core/Classes/Http/AbstractApplication.php:110 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/index.php:24 {▶}
/home/DE/pcourt/dev.sunshine.qua/web/typo3/index.php:25 {▶}

The correct code would be `$hashFactory->get($installToolPassword, 'BE')->checkPassword('joh316', $installToolPassword)` ????

Actions #1

Updated by Mathias Brodala over 5 years ago

  • Assignee set to Mathias Brodala
  • Priority changed from Should have to Must have
  • TYPO3 Version changed from 9 to 10
Actions #2

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61318

Actions #3

Updated by Gerrit Code Review over 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61318

Actions #4

Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61318

Actions #5

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61332

Actions #6

Updated by Mathias Brodala over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF