Hello, we sign our packages with our own keys. What is the best way to deliver this keys? I tried it like opensuse does it with their opensuse-build-key RPM package. The keys are placed on /usr/lib/rpm/gnupg/keys (as the opensuse package does), but they are not recognized by rpm. How do I import them correct? Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
Am 18.02.21 um 10:00 schrieb Daniel Spannbauer:
Hello,
we sign our packages with our own keys.
What is the best way to deliver this keys? I tried it like opensuse does it with their opensuse-build-key RPM package.
The keys are placed on /usr/lib/rpm/gnupg/keys (as the opensuse package does), but they are not recognized by rpm.
How do I import them correct?
Hi Daniel, man rpmkeys - basically rpmkeys --import Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh
Am 18.02.2021 um 10:09 schrieb John Paul Adrian Glaubitz:
Hi Daniel!
On 2/18/21 10:00 AM, Daniel Spannbauer wrote:
How do I import them correct? You can import signing keys with:
# rpm --import /path/to/key/file.asc
Adrian
Doas it work when it is started from the %post of an rpm package? In my opinion the rpm database is locked while rpm is running. Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München
participants (3)
-
Daniel Spannbauer
-
John Paul Adrian Glaubitz
-
Stephan Kulow