From 3f67dccca0130093453b9abad4bf8171a3a72687 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Fri, 24 Sep 2021 13:22:18 +0300 Subject: [PATCH] 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. --- src/shared/user-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/user-record.c b/src/shared/user-record.c index 9bd6a038875..4c54303d131 100644 --- a/src/shared/user-record.c +++ b/src/shared/user-record.c @@ -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) { -- 2.47.3