NVME-CHECK-DHCHAP-KEY(1)
π nvme-check-dhchap-key β the manual page, bestie edition β¨
okay so real talk: this is the nvme-check-dhchap-key page from the NVME-CHECK-DHCHAP(1) manual, and honestly? It's giving "legacy era, we don't really do that anymore" energy. But we're gonna read it together anyway because you deserve to know. π«Ά
πΈ NAME πΈ
nvme-check-dhchap-key β check a host DH-HMAC-CHAP secret. Oh, and it's deprecated. Yeah. I know. π
π¦ SYNOPSIS π¦
nvme [<global-options>] check-dhchap-key [--key=<secret> | -k <secret>]
that's it. that's the whole vibe. one option. iconic minimalism honestly.
π DESCRIPTION π
So here's the tea β: this command is a deprecated alias for nvme-keys-check-kxchap-secret(1). It exists purely so your old scripts β the ones written against nvme-cli versions older than 3.0 β don't just break down crying. Respectful, honestly. π«Ά
It takes exactly one option, --key/-k, which is the same one nvme-cli 2.x took, and it passes that secret straight through to that other command. Simple. Lowkey elegant.
Exit codes still match 2.x, no cap. BUT β and this is the part where you need to pay attention, bestie π β the messages changed:
Key is valid,Key is loadedandKey is not loadedare nowSecret is ...- the validation errors say secret where they used to say key
β οΈ so if your script is out here matching on the old wording? It needs updating. fr fr. Do not skip this. π
Now, about --keydata, --keyring, --keytype and --identity β those exist, but they're only reachable under nvme keys check-kxchap-secret. Not here. Not your moment, queen. π
And if you run this with no --key? The secret gets read from stdin β which is a change, because 2.x would just report Key not specified at you. Glow-up behavior, honestly. β¨
π¨ New scripts should use nvme keys check-kxchap-secret instead. Periodt. This alias prints a deprecation warning on stderr and may be removed in a future release. It's giving "I have main character energy but my time is coming to an end." π
For the full option reference, go see nvme-keys-check-kxchap-secret(1). That's where the real feast is. π
β¨ GLOBAL OPTIONS β¨
These are the top-level nvme command options, and they're all available to this subcommand too. Group chat rules: everybody eats. π
--dry-runβ prints the command that would be executed, but doesn't actually run it. Manifesting the command without the consequences, honestly. π§--no-ioctl-probingβ disables probing for 64-bit IOCTL support. bye bye, probing. π--no-retriesβ disables the retry logic on transient errors. One shot, no second chances. π-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,'json, orbinary. Only one output format may be used at a time, so pick your fighter. π--output-format-version=<version>β selects the output format version. Version 1 uses the original field naming, while version 2 (the default) gives you more consistent and script-friendly field names. Any other version? Rejected. π«--quietβ suppresses informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. silence is a vibe. π€«--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. The supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. Four little keys, four little doors. π--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). patience is a virtue, apparently. β-v,--verboseβ increases the level of detail in the output. You can specify it multiple times to crank the verbosity even further. go off, be nosy. π₯
and yes β these can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file, though. CLI stays the main character. π
π EXAMPLES π
No Examples
that's it. that's the section. she said "no thoughts, head empty." πβ¨
π NVME π
Part of the nvme-user suite. one big happy family. π«Ά
πΈ SEE ALSO πΈ
nvme-keys-check-kxchap-secret(1)β the one you should actually be using, bestie. go there. π¦
okay that's the whole page!! π every last flag, every path, every caveat β all present and accounted for, no cap. this is nvme-check-dhchap-key from the NVME-CHECK-DHCHAP(1) manual, part of the nvme-user suite, and that's your sign-off, so go update those scripts. iykyk. πβ¨π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms