[Buildroot] [PATCH 3/3] wireless-regdb: omit author info from private key in home directory

Kurt Van Dijck dev.kurt at vandijck-laurijssen.be
Thu Jun 25 18:09:12 UTC 2020


Hey Thomas,

On do, 18 jun 2020 22:28:36 +0200, Thomas Petazzoni wrote:
> Hello,
> 
> On Fri, 12 Jun 2020 07:31:10 +0200
> Kurt Van Dijck <dev.kurt at vandijck-laurijssen.be> wrote:
> 
...
> > +-REGDB_PRIVKEY ?= ~/.wireless-regdb-$(REGDB_AUTHOR).key.priv.pem
> > ++REGDB_PRIVKEY ?= ~/.wireless-regdb.key.priv.pem
> > + REGDB_PUBKEY ?= $(REGDB_AUTHOR).key.pub.pem
> > + 
> > + REGDB_UPSTREAM_PUBKEY ?= sforshee.key.pub.pem
> 
> All patches need a description and Signed-off-by line. But what about
> passing REGDB_AUTHOR=buildroot from wireless-regdb.mk, or something
> like that ?

I'm in the process of discovering that the crda-less system
requires the keys in the kernel (a good choice) which can best
be accomplished by your suggestion here.

I have a few things for a rework
1. put some more comments
2. avoid a python3 patch and use python-m2crypto.
3. prepare for an explicit priv key for both wireless-regdb and kernel

Thanks for the review.
Kurt



More information about the buildroot mailing list