user-record: switch the default LUKS PBKDF to argon2id to match cryptsetup
cryptsetup 2.4.0 changed the default LUKS2 PBKDF to argon2id. See https://gitlab.com/cryptsetup/cryptsetup/-/commit/db775417909db0f0b07168d07fdf8813e3ca94fe.
This commit is contained in:
@@ -1893,7 +1893,7 @@ uint64_t user_record_luks_volume_key_size(UserRecord *h) {
|
||||
const char* user_record_luks_pbkdf_type(UserRecord *h) {
|
||||
assert(h);
|
||||
|
||||
return h->luks_pbkdf_type ?: "argon2i";
|
||||
return h->luks_pbkdf_type ?: "argon2id";
|
||||
}
|
||||
|
||||
uint64_t user_record_luks_pbkdf_time_cost_usec(UserRecord *h) {
|
||||
|
||||
Reference in New Issue
Block a user