Does the linux kernel keyring store keys on disk?

543 Views Asked by At

I'm trying to learn a bit about the linux kernel keyring (as background for using ecryptfs). Does the kernel keyring store keys somewhere on disk, or does it get reinitiailized programmatically everytime the sytem is booted?

I've looked at the man pages and archlinux documentation on encryption but haven't found the answer. If there's other documentation on the kernel keyring, I'd like to know.

If the kernel keyring does store keys on the disk, where does it put the files?

thanks

PS Excuse the rather broad choice of tags: stackoverflow does not have tags for 'keyring' or 'kernel keyring'

1

There are 1 best solutions below

0
GAD3R On

Modern Pc use the TPM (Trusted Platform Module :It’s a chip on your computer’s motherboard) , an encryption key is stored in the TPM

enter image description here

An old PC (without a TPM) , It has no way to store encryption keys in a TPM , that means it has to store its encryption keys on the hard drive