8devices / carambola2

Carambola 2 - an AR9331/SoC based PCB
GNU General Public License v2.0
56 stars 43 forks source link

`opkg update` results in `signature check failed` #63

Closed s-light closed 3 years ago

s-light commented 8 years ago

i build the firmware following the Getting Started - Build firmware. updated with the Web interface / LUCI method. after this i tried a opkg update but that failed with signature check failed.

root@Carambola2:/# opkg update
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/base/Packages.gz.
   Updated list of available packages in /var/opkg-lists/designated_driver_base.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/base/Packages.sig.
   Signature check failed.
   Remove wrong Signature file.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/telephony/Packages.gz.
   Updated list of available packages in /var/opkg-lists/designated_driver_telephony.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/telephony/Packages.sig.
   Signature check failed.
   Remove wrong Signature file.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/packages/Packages.gz.
   Updated list of available packages in /var/opkg-lists/designated_driver_packages.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/packages/Packages.sig.
   Signature check failed.
   Remove wrong Signature file.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/routing/Packages.gz.
   Updated list of available packages in /var/opkg-lists/designated_driver_routing.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/routing/Packages.sig.
   Signature check failed.
   Remove wrong Signature file.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/luci/Packages.gz.
   Updated list of available packages in /var/opkg-lists/designated_driver_luci.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/luci/Packages.sig.
   Signature check failed.
   Remove wrong Signature file.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/management/Packages.gz.
   Updated list of available packages in /var/opkg-lists/designated_driver_management.
   Downloading http://pkg.8devices.com/carambola2/v2.8/packages/management/Packages.sig.
   Signature check failed.
   Remove wrong Signature file.

how can i fix this? first i asked this question in the forum

mantas-p commented 8 years ago

Hi,

Since you built firmware yourself, it generated new repository key. To use packages from pkg.8devices.com with this firmware you can:

Add 8devices repo key to your device

echo "untrusted comment: Local build key
RWRIT89nf01hfEZ0sl+4YABtaeWs38ms/ZwOxayAQtW8Ilxt74oZWQEH" > /etc/opkg/keys/484fcf677f4d617c

--OR--

Disable signature verification in /etc/opkg.conf by commenting option option check_signature 1

1am commented 8 years ago

Thank you @mantas-p for the solution. I've bumped into this issue and your post helped me out.

valinskas commented 3 years ago

Closing issue, 5y+ since last activity.