[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1422050221-28345-1-git-send-email-holler@ahsoftware.de>
Date: Fri, 23 Jan 2015 22:57:01 +0100
From: Alexander Holler <holler@...oftware.de>
To: linux-kernel@...r.kernel.org
Cc: linux-kbuild@...r.kernel.org, Michal Marek <mmarek@...e.cz>,
David Howells <dhowells@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Alexander Holler <holler@...oftware.de>
Subject: [PATCH] modsign: overwrite keys with zero before deleting them
This is for the more paranoid people, also it's
questionable what paranoid nowadays means.
Signed-off-by: Alexander Holler <holler@...oftware.de>
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index 7ad66de..590ff53 100644
--- a/Makefile
+++ b/Makefile
@@ -1132,7 +1132,9 @@ ifeq ($(CONFIG_MODULE_SIG_THROW_AWAY), y)
@echo "###"
@echo "### Deleting key used to sign modules."
@echo "###"
+ @dd status=none if=/dev/zero of=./signing_key.priv bs=4096 count=1
@rm ./signing_key.priv
+ @dd status=none if=/dev/zero of=./signing_key.x509 bs=4096 count=1
@rm ./signing_key.x509
endif
--
2.0.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists