Re: [PATCH v4 05/11] nfit/libnvdimm: add set passphrase support for Intel nvdimms

2018-07-16 Thread Dan Williams
On Mon, Jul 16, 2018 at 2:59 PM, Dave Jiang wrote: > > > On 07/13/2018 04:26 PM, Dan Williams wrote: >> On Thu, Jul 12, 2018 at 1:48 PM, Dave Jiang wrote: >>> Add support for setting and/or updating passphrase on the Intel nvdimms. >>> The passphrase is pulled from userspace through the kernel ke

Re: [PATCH v4 05/11] nfit/libnvdimm: add set passphrase support for Intel nvdimms

2018-07-16 Thread Dave Jiang
On 07/13/2018 04:26 PM, Dan Williams wrote: > On Thu, Jul 12, 2018 at 1:48 PM, Dave Jiang wrote: >> Add support for setting and/or updating passphrase on the Intel nvdimms. >> The passphrase is pulled from userspace through the kernel key management. >> We trigger the update via writing "update

Re: [PATCH v4 05/11] nfit/libnvdimm: add set passphrase support for Intel nvdimms

2018-07-13 Thread Dan Williams
On Thu, Jul 12, 2018 at 1:48 PM, Dave Jiang wrote: > Add support for setting and/or updating passphrase on the Intel nvdimms. > The passphrase is pulled from userspace through the kernel key management. > We trigger the update via writing "update" to the sysfs attribute > "security". The state of

[PATCH v4 05/11] nfit/libnvdimm: add set passphrase support for Intel nvdimms

2018-07-12 Thread Dave Jiang
Add support for setting and/or updating passphrase on the Intel nvdimms. The passphrase is pulled from userspace through the kernel key management. We trigger the update via writing "update" to the sysfs attribute "security". The state of the security can also be read via the "security" attribute.