-1

My problem I think is very simple. I would like to have opkg verify signatures before installing packages from my custom opkg repository. The issue I am having is that the keys I added to the opkg-keyrings yocto recipe are all marked as unknown on the target by gpg. They are all installed though. So when i attempt to install a package form my custom repository, It fails because there are no trusted keys. I do not believe that this is a yocto bug, but I am running rocko.

Thank you.

I have gone through the relevant recipes and just don't see anything to change the behavior.

when i attempt to run opkg update i receive the following error.

Collected errors:

opkg_verify_gpg_signature: No sufficently trusted public keys found.

gpg -k result on target(verify fails)
uid           [ unknown]

gpg -k result on pc where verify succeeds. 
uid   
        [ultimate]
4

1 回答 1

1

opkg-key 填充 opkg-key adv --list-keys --fingerprint --with-colons |\ sed -E -n -e 's/^fpr:::::::::([0-9A- F]+):$/\1:6/p' |\ opkg-key adv --import-ownertrust

我想为任何发现问题的人添加此内容。我最终在启动时添加了一个服务,该服务运行一个启用密钥的脚本。我已经包含了上面脚本的关键部分。

于 2019-08-22T12:18:27.363 回答