sops-install-secrets: use noswap mount option with tmpfs

This commit is contained in:
Amine Hassane 2025-08-24 23:16:34 +01:00 committed by Jörg Thalheim
parent edb2a27167
commit 10957db2de
5 changed files with 23 additions and 5 deletions

View file

@ -306,7 +306,7 @@ in
Use tmpfs in place of ramfs for secrets storage.
*WARNING*
Enabling this option has the potential to write secrets to disk unencrypted if the tmpfs volume is written to swap. Do not use unless absolutely necessary.
On Linux kernels earlier than 6.4, enabling this option has the potential to write secrets to disk unencrypted if the tmpfs volume is written to swap. Do not use unless absolutely necessary.
When using a swap file or device, consider enabling swap encryption by setting the `randomEncryption.enable` option