Symfony 4.3 deprecated the bcrypt algorithm, see UPGRADE-4.3.md:
Configuring encoders using argon2i or bcrypt as algorithm has been deprecated, use auto instead.
So I changed security.yaml to:
encoders:
App\Entity\User:
algorithm: auto
The problem is that, after changing to auto, the hashed string is longer:
'INSERT INTO users (..., password, ...) VALUES (...)' with params [..., "$argon2id$v=19$m=65536,t=6,p=1$d2RhZjVuaWJsSnE0TW5haA$ycOn7EHjPOoBTSa6SHDOBWL2AvwfPNjAstlSTEMmPpU", ...]:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'password' at row 1
This string is 97 characters long, while my password column was 64. I don't find any documentation about the maximum possible length with the "auto" attribute, is it 97? Or it can be more?