• Christian Kuhn's avatar
    [!!!][TASK] Remove deprecated code from core Crypto/PasswordHashing · 028d3420
    Christian Kuhn authored and Anja Leichsenring's avatar Anja Leichsenring committed
    Removed classes:
    TYPO3\CMS\Core\Crypto\PasswordHashing\AbstractComposedSalt
    
    Removed interfaces:
    TYPO3\CMS\Core\Crypto\PasswordHashing\ComposedPasswordHashInterface
    TYPO3\CMS\Core\Crypto\PasswordHashing\ExtensionManagerConfigurationUtility
    TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordService
    TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility
    
    Removed class aliases:
    TYPO3\CMS\Saltedpasswords\Salt\AbstractSalt
    TYPO3\CMS\Saltedpasswords\Salt\AbstractComposedSalt
    TYPO3\CMS\Saltedpasswords\Salt\Argon2iSalt
    TYPO3\CMS\Saltedpasswords\Salt\BcryptSalt
    TYPO3\CMS\Saltedpasswords\Salt\BlowfishSalt
    TYPO3\CMS\Saltedpasswords\Salt\ComposedSaltInterface
    TYPO3\CMS\Saltedpasswords\Salt\Md5Salt
    TYPO3\CMS\Saltedpasswords\Salt\SaltFactory
    TYPO3\CMS\Saltedpasswords\Salt\SaltInterface
    TYPO3\CMS\Saltedpasswords\Salt\Pbkdf2Salt
    TYPO3\CMS\Saltedpasswords\Salt\PhpassSalt
    TYPO3\CMS\Saltedpasswords\SaltedPasswordsService
    TYPO3\CMS\Saltedpasswords\Utility\ExensionManagerConfigurationUtility
    TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility
    
    Removed methods:
    TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2iPasswordHash->getOptions()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2iPasswordHash->setOptions()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BcryptPasswordHash->getOptions()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BcryptPasswordHash->setOptions()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getMaxHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getMinHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getSaltLength()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getSetting()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setMaxHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setMinHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getSetting()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getSaltLength()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getMaxHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getMinHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getSaltLength()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getSetting()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setMaxHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setMinHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getMaxHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getMinHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getSaltLength()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getSetting()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setMaxHashCount()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setMinHashCount()
    
    Protected methods:
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->isValidSalt()
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->base64Encode()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->isValidSalt()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->base64Encode()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->isValidSalt()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->base64Encode()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->base64Decode()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->isValidSalt()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->base64Encode()
    
    Removed static methods:
    TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::determineSaltingHashingMethod()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::getSaltingInstance()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::setPreferredHashingMethod()
    
    Second method argument dropped:
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->getHashedPassword()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getHashedPassword()
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getHashedPassword()
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getHashedPassword()
    
    Ignored options:
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/saltedpasswords']['saltMethods']
    
    Dropped constants:
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::ITOA64
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::HASH_COUNT
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::MAX_HASH_COUNT
    TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::MIN_HASH_COUNT
    TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash::ITOA64
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::ITOA64
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::HASH_COUNT
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::MAX_HASH_COUNT
    TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::MIN_HASH_COUNT
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::ITOA64
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::HASH_COUNT
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::MAX_HASH_COUNT
    TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::MIN_HASH_COUNT
    
    Removed language file aliases:
    EXT:saltedpasswords/Resources/Private/Language/locallang.xlf
    EXT:saltedpasswords/Resources/Private/Language/locallang_em.xlf
    
    Change-Id: Ia6a18209f104ca1abc6981508fb8b640ef2eb1a3
    Resolves: #87203
    Releases: master
    Reviewed-on: https://review.typo3.org/59197
    
    
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    028d3420