linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.47k stars 656 forks source link

How to use nvme security-send / security-recv command #406

Closed seanmaster closed 6 years ago

seanmaster commented 6 years ago

Hi All, everybody,

I want-to know how to use security-send/recv command? I don't know how to issue it. Can I get any example about this command? Very Thanks.

keithbusch commented 6 years ago

The NVMe specification only provides the commands to send and receive security related data. The NVMe specification does not define the structure of that data, leaving it to the controller to choose and implement a protocol. As there is no standard security protocol to decode or create those data packets, the security send/receive commands are quite simple in nvme-cli. You need to supply the data streams through another program.

seanmaster commented 6 years ago

Thanks your reply.

rvanlaar commented 5 years ago

This is a bit of a weird answer. The documentation is very bare bones. For example, what do the flags mean: secp, spsp and nssf.