From 732285eb8c2c597c7289d612fc99ad467eff85a1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 19 Feb 2024 18:21:31 +0100 Subject: [PATCH] man: tweak cryptsetup credentials docs a bit Let's bring the credentials into a better order, in order of relevance. Also, let's clarify what the generic LUKS PIN is about. Finally, list the credentials in system-credentials(7) too, after all people might want to unlock a disk with this via SMBIOS Type 11 or so. --- man/systemd-cryptsetup.xml | 22 +++++++++++----------- man/systemd.system-credentials.xml | 14 ++++++++++++++ 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/man/systemd-cryptsetup.xml b/man/systemd-cryptsetup.xml index 5f12dc4748a..72dc56390ff 100644 --- a/man/systemd-cryptsetup.xml +++ b/man/systemd-cryptsetup.xml @@ -105,7 +105,7 @@ - System Credentials + Credentials systemd-cryptsetup supports the service credentials logic as implemented by ImportCredential=/LoadCredential=/SetCredential= @@ -122,14 +122,6 @@ - - cryptsetup.fido2-pin - - This credential specifies the FIDO2 token pin. - - - - cryptsetup.tpm2-pin @@ -139,9 +131,9 @@ - cryptsetup.luks2-pin + cryptsetup.fido2-pin - This credential specifies the LUKS2 token pin. + This credential specifies the FIDO2 token pin. @@ -153,6 +145,14 @@ + + + cryptsetup.luks2-pin + + This credential specifies the PIN requested by generic LUKS2 token modules. + + + diff --git a/man/systemd.system-credentials.xml b/man/systemd.system-credentials.xml index 749d3bfb157..2a345c47b4c 100644 --- a/man/systemd.system-credentials.xml +++ b/man/systemd.system-credentials.xml @@ -353,6 +353,20 @@ + + + cryptsetup.passphrase + cryptsetup.tpm2-pin + cryptsetup.fido2-pin + cryptsetup.pkcs11-pin + cryptsetup.luks2-pin + + Specifies the passphrase/PINs to use for unlock encrypted storage volumes. For details see + systemd-cryptsetup8. + + + +