Signing packages with docker sdk?

We build a script using the openwrt docker-sdk that builds our feed:

I can not use it since, the signature is wrong?

In the normal image-builder u have all that key-build.* stuff handling the keys. Where is the key in the docker sdk?

@Andy2244 is my reference for stuff of this nature... you'll likely find some good tips here

1 Like

I found something:

staging_dir/host/bin/usign -G -p key-build.pub -s key-build
1 Like

First, compile packages.
Compile and install usign on your normal system: https://git.openwrt.org/project/usign.git

U can now use this little script to sign all your packages:

#!/bin/bash

package_list=$(find -name "Packages")
for list in $package_list; do
	usign -S -m $list -s key-build
done