]> sourceware.org Git - systemtap.git/commit
PR26665: fix secureboot/mok -> stap-server signing
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 30 Sep 2020 00:44:53 +0000 (20:44 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 30 Sep 2020 14:11:08 +0000 (10:11 -0400)
commit3b02cd57f313ed1bb31c1a4af524f5f1e3834380
tree5935cf7ef5ab32ea551393084ab069d2911547a2
parent46cd7e5d070cfa8d0f0bd2874df8886618f8ee19
PR26665: fix secureboot/mok -> stap-server signing

Previous logic for detecting whether module-signing was required
was broken by the presence of non-systemtap MOK keys.  This led
the client to find no matching stap-servers, leading to no
compilation attempt or MOK assignment.  New code filters local
MOK keys for Systemtap ones only, and even in an absence,
communicates the need for a signature via a "missing" marker.
The server eagerly passes back (new or old) MOK keys to such a
client now.

Tested on a rhel8 uefi/secureboot kvm vm.  Transport /sys/debug
dependencies are still blocking full function due to kernel_lockdown,
but that's coming next.
client-nss.cxx
csclient.cxx
nss-server-info.cxx
session.cxx
stap-serverd.cxx
This page took 0.022973 seconds and 5 git commands to generate.