Skip to content

nvme-cli authentication support

Hannes Reinecke linux-nvme 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 0 repliesNew
  2. v12 patches 4 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add 'gen-dhchap-key' commandDocumentation/nvme-gen-dhchap-key.txt Makefile nvme-builtin.h +4 more+316 -10 replies
2/3Add 'check-dhchap-key' functionDocumentation/nvme-check-dhchap-key.txt nvme-builtin.h nvme.c +2 more+174 -00 replies
3/3nvme-connect: Add 'dhchap-secret' and 'dhchap-ctrl-secret' argumentsDocumentation/nvme-connect.txt fabrics.c+31 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCHv5 nvme-cli 0/3] nvme-cli authentication support

Hi all,

this patchset implements support for nvme in-band authentication. It is cut against the current nvme-cli master branch, and requires a libnvme patch 'Implement dhchap_key host and controller attributes'.

The implementation corresponds to the v5 version of the kernel patches for implementing nvme in-band authentication.

As usual, comments and reviews are welcome.

Hannes Reinecke (3):
Add 'gen-dhchap-key' command
Add 'check-dhchap-key' function
nvme-connect: Add 'dhchap-secret' and 'dhchap-ctrl-secret' arguments

 Documentation/nvme-check-dhchap-key.txt |  31 +++
 Documentation/nvme-connect.txt          |  17 ++
 Documentation/nvme-gen-dhchap-key.txt   |  52 +++++
 Makefile                                |  17 +-
 fabrics.c                               |  17 +-
 nvme-builtin.h                          |   2 +
 nvme.c                                  | 276 ++++++++++++++++++++++++
 util/argconfig.h                        |   1 +
 util/base64.c                           | 105 +++++++++
 util/base64.h                           |   7 +
 10 files changed, 521 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/nvme-check-dhchap-key.txt
 create mode 100644 Documentation/nvme-gen-dhchap-key.txt
 create mode 100644 util/base64.c
 create mode 100644 util/base64.h
Signature · 1 line
2.31.1