You can configure the opkg client to verify signatures created with your private GPG key pair.
Prerequisites:
Generate and upload GPG keys to Artifactory. For more information, see Manage Signing Keys.
Make sure
gnupgis installed.
To configure signature verification:
Import your GPG keys to the
opkgkeychain:0.3 legacy versions:
opkg-key add key.pub
0.4 versions and newer:
mkdir -p /etc/opkg/keys opkg-key add key.pub
Run the following command to add the
check_signatureoption to youropkg.conffile:echo 'option check_signature true' >> /etc/opkg/opkg.conf
Note
If resolving fails with this error:
"opkg_verify_gpg_signature: No sufficiently trusted public keys found." "pkg_src_verify: Signature verification failed for <repoName>."
The trust level of the key.pub may not be high enough. Upgrade the trust level.