summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2021-09-24 12:22:18 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2021-09-24 22:02:21 +0200
commit3f67dccca0130093453b9abad4bf8171a3a72687 (patch)
treefd011ad32fada50c03d23765942e08cadc115467
parentman: fix a reference in timedatectl man page (diff)
downloadsystemd-3f67dccca0130093453b9abad4bf8171a3a72687.tar.xz
systemd-3f67dccca0130093453b9abad4bf8171a3a72687.zip
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.
-rw-r--r--src/shared/user-record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/user-record.c b/src/shared/user-record.c
index 9bd6a03887..4c54303d13 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) {