summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-gen-tls-key.txt
blob: cfa861470865f9dc31e4b9ad60f7ac3f186cab9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
nvme-gen-tls-key(1)
======================

NAME
----
nvme-gen-tls-key - Generate a NVMe TLS PSK

SYNOPSIS
--------
[verse]
'nvme gen-tls-key' [--hmac=<hmac-id> | -h <hmac-id>]
		      [--secret=<secret> | -s <secret> ]

DESCRIPTION
-----------
Generate a base64-encoded NVMe TLS pre-shared key (PSK) in
the PSK interchange format
NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:
and prints it to stdout.

OPTIONS
-------
-h <hmac-id>::
--hmac=<hmac-id>::
	Select a HMAC algorithm to use. Possible values are:
	1 - SHA-256 (default)
	2 - SHA-384

-s <secret>::
--secret=<secret>::
	Secret value (in hexadecimal) to be used for the key. If none are
	provided a random value is used.

EXAMPLES
--------
No Examples

NVME
----
Part of the nvme-user suite