From: Daniel Wagner Date: Thu, 16 Nov 2023 10:58:42 +0000 (+0100) Subject: doc: remove invalid hostkey info for --dhchap-secret X-Git-Tag: v2.7~49 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e8851642abb5ea3a38fba06359ead0dafe74142f;p=users%2Fsagi%2Fnvme-cli.git doc: remove invalid hostkey info for --dhchap-secret There is no code which reads in the secret from the mentioned file. This was done in the early stages of the implementation. But it is not considered good practice to store secrets as plain text in /etc, thus this feature was removed later. Instead the connect command is able to use the kernel keystore for this. Signed-off-by: Daniel Wagner --- diff --git a/Documentation/nvme-connect.txt b/Documentation/nvme-connect.txt index c7fb035f..af3e7d37 100644 --- a/Documentation/nvme-connect.txt +++ b/Documentation/nvme-connect.txt @@ -107,9 +107,6 @@ OPTIONS --dhchap-secret=:: NVMe In-band authentication secret; needs to be in ASCII format as specified in NVMe 2.0 section 8.13.5.8 'Secret representation'. - If this option is not specified, the default is read from - @SYSCONFDIR@/nvme/hostkey. If that does not exist no in-band authentication - is attempted. -C :: --dhchap-ctrl-secret=::