aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2022-09-16 12:30:17 +0200
committerOndrej Kozina <okozina@redhat.com>2022-09-16 12:34:32 +0200
commit033ff34109a8a1674ccce18d5a4b172876e595be (patch)
treefcb59e05832c53832deae0df8f7147511d11c206 /man
parent0d61e4c20f3c83a09aac4b70dcf2c3c2619188ce (diff)
downloadcryptsetup-033ff34109a8a1674ccce18d5a4b172876e595be.tar.gz
Enable adding unassigned luks2-keyring token in cryptsetup.
There was no easy way to add unassigned luks2-keyring token. Reuse --unbound parameter for it.
Diffstat (limited to 'man')
-rw-r--r--man/common_options.adoc5
-rw-r--r--man/cryptsetup-token.8.adoc2
2 files changed, 5 insertions, 2 deletions
diff --git a/man/common_options.adoc b/man/common_options.adoc
index fad0873b..bfcf8ee0 100644
--- a/man/common_options.adoc
+++ b/man/common_options.adoc
@@ -933,7 +933,7 @@ aligned to page size and page-cache initiates read of a sector with
invalid integrity tag.
endif::[]
-ifdef::ACTION_OPEN,ACTION_LUKSADDKEY,ACTION_LUKSDUMP[]
+ifdef::ACTION_OPEN,ACTION_LUKSADDKEY,ACTION_LUKSDUMP,ACTION_TOKEN[]
*--unbound*::
ifdef::ACTION_LUKSADDKEY[]
Creates new LUKS2 unbound keyslot.
@@ -946,6 +946,9 @@ Allowed only together with --test-passphrase parameter, it allows one to test
passphrase for unbound LUKS2 keyslot. Otherwise, unbound keyslot passphrase
can be tested only when specific keyslot is selected via --key-slot parameter.
endif::[]
+ifdef::ACTION_TOKEN[]
+Creates new LUKS2 keyring token assigned to no keyslot. Usable only with _add_ action.
+endif::[]
endif::[]
ifdef::ACTION_OPEN,ACTION_TCRYPTDUMP[]
diff --git a/man/cryptsetup-token.8.adoc b/man/cryptsetup-token.8.adoc
index 55042e24..663418f9 100644
--- a/man/cryptsetup-token.8.adoc
+++ b/man/cryptsetup-token.8.adoc
@@ -46,7 +46,7 @@ replace the existing token.
*<options>* can be [--header, --token-id, --key-slot, --key-description,
--disable-external-tokens, --disable-locks, --disable-keyring,
---json-file, --token-replace].
+--json-file, --token-replace, --unbound].
include::man/common_options.adoc[]
include::man/common_footer.adoc[]