[PATCH] wireless-regdb: Fix regulatory.bin signing with new M2Crypto

Chen-Yu Tsai wens at kernel.org
Tue Feb 24 23:40:41 PST 2026


On Mon, 16 Feb 2026 21:01:58 +0100, Ben Hutchings wrote:
> In M2Crypto version 0.45.1, the default hash algorithm for
> M2Crypto.RSA.sign() changed from SHA-1 to SHA-256.  Since the
> signature on regulatory.bin uses a SHA-1 hash, db2bin.py generates
> invalid signatures for regulatory.bin if a recent version of M2Crypto
> is installed.
> 
> I reported this incompatible change as
> <https://todo.sr.ht/~mcepl/m2crypto/389>.
> 
> [...]

Applied to master in wens/wireless-regdb.git, thanks!

[1/1] wireless-regdb: Fix regulatory.bin signing with new M2Crypto
      https://git.kernel.org/wens/wireless-regdb/c/dcfad17e607c
[1/1] wireless-regdb: Replace M2Crypto with cryptography package
      https://git.kernel.org/wens/wireless-regdb/c/88951a4a9b07

Best regards,
-- 
Chen-Yu Tsai <wens at kernel.org>




More information about the wireless-regdb mailing list