Am 07/30/2012 03:11 PM, schrieb Daniel Rahn:
On Mon, Jul 30, Daniel Spannbauer wrote:
gpg -u ds@marco.de --export >> installkey.gpg
installkey.gpg is a keyring and not a textfile, so above command destroys the keyring.
Try this:
gpg --import gpg-$KEY_ID.gpg --keyring installkey.gpg
Regards,
Daniel
Hello Daniel, now I did the following: ------------------------------------- echo "initall.key aus initrd raus....." cpio -i -F $INITRD.uncomp installkey.gpg echo "Schlüssel exportieren" gpg --export -u $KEY_ID > gpg-$KEY_ID.gpg gpg --export -a -u $KEY_ID > gpg-pubkey-$KEY_ID.asc echo "Schlüssel rein" echo "gpg-$KEY_ID.gpg" | cpio -o -H newc -A -F $INITRD.uncomp echo "install.key erweitern" #gpg -u ds@marco.de --export >> installkey.gpg gpg --import --keyring ./installkey.gpg gpg-$KEY_ID.gpg echo "installkey wieder in initrd" echo "installkey.gpg" | cpio -o -H newc -A -F $INITRD.uncomp echo "komprimieren" gzip --best <$INITRD.uncomp >$INITRD ---------------------------------------- I get the following Output: ---------------------------------------- install.key erweitern gpg: key 7B6AC518: "Daniel Spannbauer <ds@marco.de>" not changed gpg: key 3D25D3D9: "SuSE Security Team <security@suse.de>" not changed gpg: key 0DFB3188: "Open Enterprise Server <support@novell.com>" not changed gpg: key A1912208: "Novell Provo Build (Contact security@novell.com) <novell-provo-build@novell.com>" not changed gpg: key 307E3D54: "SuSE Package Signing Key <build@suse.de>" not changed gpg: key 7E2E3B05: "Novell Provo Build (Contact security@novell.com) <novell-provo-build@novell.com>" not changed gpg: key 9C800ACA: "SuSE Package Signing Key <build@suse.de>" not changed gpg: key 56B4177A: "openSUSE:Factory OBS Project <openSUSE:Factory@build.opensuse.org>" not changed gpg: key 3DBDC284: "openSUSE Project Signing Key <opensuse@opensuse.org>" not changed gpg: Total number processed: 9 gpg: unchanged: 9 Seems to work. Bute the error ist still the same (see linuxrc.log) Permissions for /root/.gnupg (which is emtpy) is 744. Regards Daniel -- Daniel Spannbauer Software Entwicklung 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