32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 16236f76d086187f6ae6202153519c1eb2fe4f87 Mon Sep 17 00:00:00 2001
|
|
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
|
|
Date: Tue, 24 Nov 2020 10:49:14 +0100
|
|
Subject: [PATCH] crypt: make key_file and crypt_type parameters not unique
|
|
|
|
---
|
|
heartbeat/crypt | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/heartbeat/crypt b/heartbeat/crypt
|
|
index 0e49b6c2d..7d0a5607c 100755
|
|
--- a/heartbeat/crypt
|
|
+++ b/heartbeat/crypt
|
|
@@ -86,7 +86,7 @@ The resulting block device path is /dev/mapper/name.
|
|
<content type="string" default="${OCF_RESKEY_crypt_dev_default}" />
|
|
</parameter>
|
|
|
|
-<parameter name="key_file" unique="1" required="1">
|
|
+<parameter name="key_file" unique="0" required="1">
|
|
<longdesc lang="en">
|
|
Key file path containing the encryption passphrase
|
|
(aka key; see cryptsetup(8)). For LUKS, the passphrase as of the key_file
|
|
@@ -96,7 +96,7 @@ parameter is used to decrypt a randomly selected key when the device was created
|
|
<content type="string" default="${OCF_RESKEY_key_file_default}" />
|
|
</parameter>
|
|
|
|
-<parameter name="crypt_type" unique="1" required="1">
|
|
+<parameter name="crypt_type" unique="0" required="1">
|
|
<longdesc lang="en">
|
|
Encryption (device) type (e.g. "luks" or "luks2").
|
|
|