Merge pull request #2348 from PalinuroSec/patch-2

[users] Use yescrypt instead of sha512
This commit is contained in:
Adriaan de Groot 2024-06-30 00:24:08 +02:00 committed by GitHub
commit dcea48a5e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ SetPasswordJob::make_salt( int length )
cWarning() << "Entropy data for salt is low-quality."; cWarning() << "Entropy data for salt is low-quality.";
} }
salt_string.insert( 0, "$6$" ); salt_string.insert( 0, "$y$" );
salt_string.append( '$' ); salt_string.append( '$' );
return salt_string; return salt_string;
} }