You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debian distributes the wireless regulatory database in the package wireless-regdb. The package contains the upstream db as well as a debian version and manages it through update-alternatives. Per default the Debian database is used:
The database is signed and the signature checked by the kernel (certs need to be present in net/wireless/certs). This is fine as long as the official upstream version is used (cert present, signature can be verified). The Debian database though is signed by Ben and Romain and the certificates are added in the Debian build process:
This error has been present since a while and was here and then mentioned as a red herring in wifi issues, My suggested fix is to include the debian.hex from the above mentioned patch in the RPi repo. As this is only used for the regdb I don't see any side effects. Happy to provide a PR for this.
Steps to reproduce the behaviour
Wifi capable Raspberry Pi with Buster / Bullseye
[ 5.515935] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.558783] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.564276] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
Describe the bug
Debian distributes the wireless regulatory database in the package
wireless-regdb
. The package contains the upstream db as well as a debian version and manages it through update-alternatives. Per default the Debian database is used:The database is signed and the signature checked by the kernel (certs need to be present in
net/wireless/certs
). This is fine as long as the official upstream version is used (cert present, signature can be verified). The Debian database though is signed by Ben and Romain and the certificates are added in the Debian build process:https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/patches/debian/wireless-add-debian-wireless-regdb-certificates.patch
On a Raspberry Pi kernel these signatures are not present and the user will find a error in the kernel log:
Same with a Debian kernel:
This error has been present since a while and was here and then mentioned as a red herring in wifi issues, My suggested fix is to include the
debian.hex
from the above mentioned patch in the RPi repo. As this is only used for the regdb I don't see any side effects. Happy to provide a PR for this.Steps to reproduce the behaviour
Wifi capable Raspberry Pi with Buster / Bullseye
Device (s)
Raspberry Pi CM4
System
Linux cm4io 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: