Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Joe Doss <joe@solidadmin.com>
To: steved@redhat.com
Cc: wireguard@lists.zx2c4.com
Subject: Re: wireguard.ko on RHEL8
Date: Sun, 24 Apr 2022 15:03:37 -0500	[thread overview]
Message-ID: <a18d6a8a-1dcc-3093-6931-5ffb1236d287@solidadmin.com> (raw)
In-Reply-To: <22218021-270c-8ac9-c214-76ae4e1c1263@redhat.com>

Hey Steve,

On 4/24/22 1:16 PM, Steve Dickson wrote:
> 
> Trying to install wireguard.ko on a RHEL8 vm (4.18.0-348.el8.x86_64)
> and I'm getting
> 
>     wireguard: module verification failed: signature and/or required key 
> missing - tainting kernel
> 
> The entire error:
> http://pastebin.test.redhat.com/1046896
> 
> is there anything at can be done about that?
> 
> I'm new to wireguard and I'm pretty impress...
> It came up in both Fedora rawhide and an
> unreleased verson of RHEL9...
> 
> We are trying to used it as our network in
> a community wide virtual NFS testing event
> called Bakeathon [1]
> 
> Again I'm new to wireguard but not to kernels ;-)
> So if you could throw something at me to
> help me get over this bum... It would be appreciated!
> 
> Note: I am not member of this list so please
> reply to be directly.

You have secure boot enabled, so you need to generate a MOK key pair, 
manually sign your wireguard.ko, and enroll your MOK cert or disable 
secure boot.

I use this script [1] to sign my NVIDIA drivers on my workstation after 
they are built via akmod.

Hope this helps!
Joe

[1]: https://gist.github.com/jdoss/495e814ef4ef599e480c31d4843eb6c0

-- 
Joe Doss
joe@solidadmin.com

  reply	other threads:[~2022-04-24 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-24 18:16 Steve Dickson
2022-04-24 20:03 ` Joe Doss [this message]
2022-04-28 16:06   ` Steve Dickson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a18d6a8a-1dcc-3093-6931-5ffb1236d287@solidadmin.com \
    --to=joe@solidadmin.com \
    --cc=steved@redhat.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).