Re: [PATCH 11/24] uswsusp: Disable when the kernel is locked down
From: Rafael J. Wysocki
Date: Thu Apr 06 2017 - 16:12:49 EST
On Thu, Apr 6, 2017 at 10:09 PM, Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
> On Thu, Apr 6, 2017 at 10:41 AM, David Howells <dhowells@xxxxxxxxxx> wrote:
>> Oliver Neukum <oneukum@xxxxxxxx> wrote:
>>
>>> Your swap partition may be located on an NVDIMM or be encrypted.
>>
>> An NVDIMM should be considered the same as any other persistent storage.
>>
>> It may be encrypted, but where's the key stored, how easy is it to retrieve
>> and does the swapout code know this?
>>
>>> Isn't this a bit overly drastic?
>>
>> Perhaps, but if it's on disk and it's not encrypted, then maybe not.
>
> Right.
>
> Swap encryption is not mandatory and I'm not sure how the hibernate
> code can verify whether or not it is in use.
BTW, SUSE has patches adding secure boot support to the hibernate code
and Jiri promised me to post them last year even. :-)
Thanks,
Rafael