From d0d24da839656a1a6b38af547c2ebdc9501783bd Mon Sep 17 00:00:00 2001 From: Juho Kuisma Date: Sat, 7 Dec 2024 15:41:07 +0200 Subject: [PATCH] Enforce memory locking to avoid accidentally swapping GPG memory to disk --- gpg.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpg.conf b/gpg.conf index e006ecf..36cd6e1 100644 --- a/gpg.conf +++ b/gpg.conf @@ -34,6 +34,8 @@ with-fingerprint #with-key-origin # Cross-certify subkeys are present and valid require-cross-certification +# Enforce memory locking to avoid accidentally swapping GPG memory to disk +require-secmem # Disable caching of passphrase for symmetrical ops no-symkey-cache # Output ASCII instead of binary