'\" t
.\" Title: nvme-check-dhchap-key
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot
.\" Date: 09/18/2026
.\" Manual: NVMe Manual
.\" Source: NVMe
.\" Language: English
.\"
.TH "NVME\-CHECK\-DHCHAP\" "1" "09/18/2026" "NVMe" "NVMe Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
nvme-check-dhchap-key \- Check a host DH\-HMAC\-CHAP secret (deprecated)
.SH "SYNOPSIS"
.sp
.nf
\fInvme\fR [] \fIcheck\-dhchap\-key\fR [\-\-key= | \-k ]
.fi
.SH "DESCRIPTION"
.sp
Deprecated alias for \fBnvme-keys-check-kxchap-secret\fR(1), kept for scripts written against nvme\-cli versions older than 3\&.0\&. It takes the one option nvme\-cli 2\&.x took, \fI\-\-key\fR/\fI\-k\fR, and passes the secret to that command\&. Exit codes match 2\&.x, but \fIKey is valid\fR, \fIKey is loaded\fR and \fIKey is not loaded\fR are now \fISecret is \&...\fR, and the validation errors say secret where they said key, so a script matching the old wording needs updating\&.
.sp
\fI\-\-keydata\fR, \fI\-\-keyring\fR, \fI\-\-keytype\fR and \fI\-\-identity\fR are reachable only under \fInvme keys check\-kxchap\-secret\fR\&. With no \fI\-\-key\fR the secret is read from stdin, where 2\&.x reported \fIKey not specified\fR\&.
.sp
New scripts should use \fInvme keys check\-kxchap\-secret\fR instead\&. This alias prints a deprecation warning on stderr and may be removed in a future release\&.
.sp
See \fBnvme-keys-check-kxchap-secret\fR(1) for the full option reference\&.
.SH "GLOBAL OPTIONS"
.sp
The following options are defined at the top\-level nvme command and are available to this subcommand:
.PP
\-\-dry\-run
.RS 4
Print the command that would be executed, but do not actually execute it\&.
.RE
.PP
\-\-no\-ioctl\-probing
.RS 4
Disable probing for 64\-bit IOCTL support\&.
.RE
.PP
\-\-no\-retries
.RS 4
Disable retry logic on transient errors\&.
.RE
.PP
\-o , \-\-output\-format=
.RS 4
Set the reporting format to
\fInormal\fR,
\fItabular, \*(Aqjson\fR, or
\fIbinary\fR\&. Only one output format may be used at a time\&.
.RE
.PP
\-\-output\-format\-version=
.RS 4
Select the output format version\&. Version
\fI1\fR
uses the original field naming, while version
\fI2\fR
(default) provides more consistent and script\-friendly field names\&.
.RE
.PP
\-\-timeout=
.RS 4
Set the timeout for the command in milliseconds\&.
.RE
.PP
\-v, \-\-verbose
.RS 4
Increase the level of detail in the output\&. May be specified multiple times to further increase verbosity\&.
.RE
.sp
These options can also be set as machine\-wide defaults in nvme\-cli\&.conf(5)\&. A command\-line flag always overrides the file\&.
.SH "EXAMPLES"
.sp
No Examples
.SH "NVME"
.sp
Part of the nvme\-user suite
.SH "SEE ALSO"
.sp
\fBnvme-keys-check-kxchap-secret\fR(1)