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:
nl6720
2021-09-24 21:02:21 +01:00
committed by Luca Boccassi
parent 9376b2aab3
commit 3f67dccca0
+1 -1
View File
@@ -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) {