Hi,
How can I sign the changelog.txz file and create the corresponding signature file, changelog.txz.sig?
Thank you in advance.
gpg --output changelog.txz.sig --sign changelog.txz
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