Re: Automating signing of DKMS modules with machine owner key

2020-08-06 Thread Jeremy Stanley
On 2020-08-06 21:49:06 +0200 (+0200), Sven Bartscher wrote: > Am Thu, 6 Aug 2020 17:24:08 + > schrieb Jeremy Stanley : > > > The idea is that UEFI/BIOS checks the signature for GRUB before > > executing it, and does so instructing GRUB to verify the signature > > for its config. GRUB then chec

Re: Automating signing of DKMS modules with machine owner key

2020-08-06 Thread Sven Bartscher
Hi, Am Thu, 6 Aug 2020 17:24:08 + schrieb Jeremy Stanley : > The idea is that UEFI/BIOS checks the signature for GRUB before > executing it, and does so instructing GRUB to verify the signature > for its config. GRUB then checks the signatures on the kernel and > initrd before handing off con

Re: Automating signing of DKMS modules with machine owner key

2020-08-06 Thread Jeremy Stanley
On 2020-08-06 08:04:56 +0100 (+0100), Nikolaus Rath wrote: > On Aug 05 2020, Jeremy Stanley wrote: > > On 2020-08-05 20:30:59 +0100 (+0100), Nikolaus Rath wrote: > >> On Aug 04 2020, Jeremy Stanley wrote: > >> > Okay, so for systems to which a malicious party may gain physical > >> > access (or r

Re: Automating signing of DKMS modules with machine owner key

2020-08-06 Thread Nikolaus Rath
On Aug 05 2020, Jeremy Stanley wrote: > On 2020-08-05 20:30:59 +0100 (+0100), Nikolaus Rath wrote: >> On Aug 04 2020, Jeremy Stanley wrote: >> > Okay, so for systems to which a malicious party may gain physical >> > access (or remote console access) there's sort of a third risk this >> > addresse

Re: Automating signing of DKMS modules with machine owner key

2020-08-05 Thread Jeremy Stanley
On 2020-08-05 20:30:59 +0100 (+0100), Nikolaus Rath wrote: > On Aug 04 2020, Jeremy Stanley wrote: > > Okay, so for systems to which a malicious party may gain physical > > access (or remote console access) there's sort of a third risk this > > addresses. A special case of the second risk really.

Re: Automating signing of DKMS modules with machine owner key

2020-08-05 Thread Nikolaus Rath
On Aug 04 2020, Jeremy Stanley wrote: > Okay, so for systems to which a malicious party may gain physical > access (or remote console access) there's sort of a third risk this > addresses. A special case of the second risk really. *If* you're > also encrypting the filesystem on which that signing

Re: Automating signing of DKMS modules with machine owner key

2020-08-05 Thread Sven Bartscher
Hi, On Tue, 4 Aug 2020 12:31:04 + Jeremy Stanley wrote: > Okay, so for systems to which a malicious party may gain physical > access (or remote console access) there's sort of a third risk this > addresses. A special case of the second risk really. *If* you're > also encrypting the filesyste

Re: Automating signing of DKMS modules with machine owner key

2020-08-05 Thread Jonas Meurer
Hey, Jeremy Stanley: > Okay, so for systems to which a malicious party may gain physical > access (or remote console access) there's sort of a third risk this > addresses. A special case of the second risk really. *If* you're > also encrypting the filesystem on which that signing key resides > (vi

Re: Automating signing of DKMS modules with machine owner key

2020-08-04 Thread Luca Boccassi
On Tue, 2020-08-04 at 12:31 +, Jeremy Stanley wrote: > On 2020-08-04 13:52:04 +0200 (+0200), Thomas Goirand wrote: > > A few months ago, it took me a long long time to figure out how to do > > this and write it in this wiki page: > > https://wiki.debian.org/SecureBoot#MOK_-_Machine_Owner_Key >

Re: Automating signing of DKMS modules with machine owner key

2020-08-04 Thread Jeremy Stanley
On 2020-08-04 13:52:04 +0200 (+0200), Thomas Goirand wrote: > A few months ago, it took me a long long time to figure out how to do > this and write it in this wiki page: > https://wiki.debian.org/SecureBoot#MOK_-_Machine_Owner_Key > > This works very well, but I wonder if we could automate this b

Automating signing of DKMS modules with machine owner key

2020-08-04 Thread Thomas Goirand
Hi, A few months ago, it took me a long long time to figure out how to do this and write it in this wiki page: https://wiki.debian.org/SecureBoot#MOK_-_Machine_Owner_Key This works very well, but I wonder if we could automate this by having a hook in DKMS, so that any DKMS rebuild would also sign