Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64223

Re: dkms with secureboot

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel
Subject Re: dkms with secureboot
Date 2019-06-04 23:20 +0200
Message-ID <y5p0C-5be-7@gated-at.bofh.it> (permalink)
References <y5b7j-4YD-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, 2019-06-04 at 14:53 +0900, Hideki Yamane wrote:
> Hi,
> 
> > linux (4.19.37-1) unstable; urgency=medium
> (snip)
> >   * Import patches to enable loading keys from UEFI db and MOK from
> >     http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git to
> >     allow kernel modules built by users (eg: by dkms) to be verified, and
> >     to load dbx and MOKX for the equivalent blacklisting functionality.
> 
>  It seems that we can use virtualbox with secure boot enabled, however,
>  I got an error as below
> 
> > $ sudo modprobe vboxdrv
> > modprobe: ERROR: could not insert 'vboxdrv': Required key not available
> 
>  Do I forget to do something or need extra step for it?

Yes, you would have to actually sign the module and enrol the signing
key.  Unfortunately I don't believe there's a simple way to do that at
present.

It is also possible to disable shim's signature checking using mokutil
(which then has to be confirmed interactively on the following boot). 
These patches make the kernel follow shim's behaviour.  This is useful
if the system firmware makes it difficult to disable Secure Boot.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

dkms with secureboot Hideki Yamane <henrich@iijmio-mail.jp> - 2019-06-04 08:30 +0200
  Re: dkms with secureboot Luca Boccassi <bluca@debian.org> - 2019-06-04 19:50 +0200
    Re: dkms with secureboot Hideki Yamane <henrich@iijmio-mail.jp> - 2019-06-06 04:30 +0200
  Re: dkms with secureboot Ben Hutchings <ben@decadent.org.uk> - 2019-06-04 23:20 +0200

csiph-web