Linutronix / elbe

Embedded Linux Build Environment
https://elbe-rfs.org
GNU General Public License v3.0
163 stars 59 forks source link

debian-archive-keyring handling #368

Closed yegorich closed 1 year ago

yegorich commented 1 year ago

As mentioned in #253, debian-archive-keyring package installs the keys to /usr/share/keyrings but not to /etc/apt/trusted.gpg.d. What would be the proper way to handle this?

bgermann commented 1 year ago

You should use the signed-by attribute of deb/deb-src lines as shown in https://elbe-rfs.org/download. Using trusted.gpg.d is bad because it allows global apt trust.

yegorich commented 1 year ago

If I understand it correctly, elbe-repo.pub.gpg is required for elbe Debian package installation. What I need, are the keys for the initvm. On Ubuntu, I need the debian-archive-keyring package. The problem is that is installs the keys to /usr/share/keyrings but ELBE expects them in /etc/apt/trusted.gpg.d.

bgermann commented 1 year ago

That is an inherant problem of not having Debian keys as trust anchor in Ubuntu systems. Please just copy them over; I cannot solve this.