]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(modsign): load keys to correct keyring
authorMichał Zegan <webczat@outlook.com>
Wed, 26 Oct 2022 16:10:38 +0000 (18:10 +0200)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Wed, 28 Jun 2023 11:53:14 +0000 (07:53 -0400)
commitb7ef1302715bead649625666f92eff434082de1f
tree8339d29dc9369e814ff1faeddd1807eb3b6b1360
parent179e1a992fc2b74d55a600bef152d5df43802104
fix(modsign): load keys to correct keyring

Until now, 03modsign module was loading keys from /lib/modules/keys/* into the
current session keyring.
This change makes it add keys to the secondary trusted keyring. This works
only as long as added certificate is signed by key from the same keyring.
modules.d/03modsign/load-modsign-keys.sh