]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
doc: remove invalid hostkey info for --dhchap-secret
authorDaniel Wagner <dwagner@suse.de>
Thu, 16 Nov 2023 10:58:42 +0000 (11:58 +0100)
committerDaniel Wagner <wagi@monom.org>
Thu, 16 Nov 2023 11:03:21 +0000 (12:03 +0100)
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 <dwagner@suse.de>
Documentation/nvme-connect.txt

index c7fb035f4f736d30c231a36b765c1cb24f8dccff..af3e7d3748f2c74442160a815b4cc07cdd127ec9 100644 (file)
@@ -107,9 +107,6 @@ OPTIONS
 --dhchap-secret=<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 <secret>::
 --dhchap-ctrl-secret=<secret>::