Am 07/30/2012 05:01 PM, schrieb Daniel Spannbauer:
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.
Ok, in the linuxrc-source I found the command which checks the content: gpg --homedir /root/.gnupg --batch --no-default-keyring --keyring /installkey.gpg --ignore-valid-from --ignore-time-conflict --verify %s
/dev/null%s
I tried this on the commandline after the "signature check failed"-message and get: "gpg: Can't check signature: No public key" Which publickey is missed? I think I imported it now the right way to installkey.gpg..... 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 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org