Live data from Hacker News

Since Linux 6.9, LUKS suspend stopped wiping disk-encryption keys from memory

mathstodon.xyz

1–10 of 247 posts

Re: Since Linux 6.9, LUKS suspend stopped wiping disk-encryption keys from memory

#7
post #2

[flagged]

> That's a you problem. I shutdown my machine when I'm not using it. "We designed the antennas correctly, you're holding the phone the wrong way."

It's not a good analogy. Something is still on in suspend. Good you can control Linux kernel, but what about all other chips which may be an attack vector?

Re: Since Linux 6.9, LUKS suspend stopped wiping disk-encryption keys from memory

#9
I don't see any other way? When you sleep (suspend to RAM), everything is stored in RAM and is encrypted but the master key is present in kernel memory (if I recall correctly).

However, if you hibernate (suspend to disk) the entire contents of RAM (including the master key) is written/encrypted to disk and the RAM is cleared.

When you wake the machine up you have to re-enter the passphrase to decrypt the master key to re-load disk contents back to memory.

Re: Since Linux 6.9, LUKS suspend stopped wiping disk-encryption keys from memory

#10
post #5
post #2

[flagged]

And I don't use GUIs, but it doesn't mean I have to be a jerk to people who are happy when their GUI gets better :-).

Suggesting I'm an exotic animal for being budget and environmentally friendly is being a jerk too.
Post reply on HN