How to sign changelog.txz and generate signature file changelog.txz.sig

Started by sreekupm, November 23, 2023, 12:16:59 PM

Previous topic - Next topic
Hi,

How can I sign the changelog.txz file and create the corresponding signature file, changelog.txz.sig?

Thank you in advance.


Not quite. See here https://github.com/opnsense/update#opnsense-sign-opnsense-verify -- the tools are part of the opnsense-update package, but are technically stand-alone tools.


Cheers,
Franco

Dear Franco,

Thanks for your reply,

How can I sign with opnsense-sign ?

tried but getting error Cannot find private key:

./opnsense-sign changelog.txz             
Cannot find private key:

Dear Franco

Am I correct?

./opnsense-sign.sh -c public.crt -k private.key /path/tochangelog.txz

No, maybe you should look at the manual page provided:

# man opnsense-sign


Cheers,
Franco