Re: [PATCH] modsign: overwrite keys with zero before deleting them
From: Richard Weinberger
Date: Fri Jan 23 2015 - 17:07:00 EST
On Fri, Jan 23, 2015 at 10:57 PM, Alexander Holler <holler@xxxxxxxxxxxxx> wrote:
> This is for the more paranoid people, also it's
> questionable what paranoid nowadays means.
Isn't this complete useless when modern filesystems like btrfs or
storage devices like SSDs are used?
> Signed-off-by: Alexander Holler <holler@xxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/