repomd.xml.key -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2.0.12 (GNU/Linux) mI0ESrB6NQEEALobbzzi+KmPSjZbCSOp6fJi5nHbheXuNQEqjEOBdA5mF1TG3hEf AxLh5u/UeMaYGcBbObl1TLF+R8GtsTYxCKgHh8NZpn6mIax/5wr2ciLLINPIHg/V xYoZwMHexn0cfnAV60IG0/E+EeB9dUVIVrCrqo5AIcuzoZiYAAFgnlYPABEBAAG0 QEVsbWFyIFN0ZWxsbmJlcmdlciAoaHR0cDovL3d3dy5lbHN0ZWwuY29tKSA8ZXN0 ZWxsbmJAZWxzdGVsLmNvbT6ItgQTAQIAIAUCSrB6NQIbAwYLCQgHAwIEFQIIAwQW AgMBAh4BAheAAAoJEHH1c6+xtQovk5sEAJBiCODr/WrSk/m0U1mfbRBn1n8P5oBK X3mnTnCwo7vR5q9fVNPtgRlIG+Mx1O7la9UwcRxYPLgbn6UFAg8W0pR95fTKTLnH UdHyzefeTEQ4J8w4rtZWvEjNrwExdXV+NFfuvP4bpB9hxwr9Nxx0v00MR/jP2din bjEc5Z+9+SnguI0ESrB6NQEEAP4V6ZO6TIQnyQi97p5Pu6cSNZm26G35FNQhI7c5 OOltQDLKZhBJEY0iLDWbOj9mNC/Z9yKokOUYEICs0uNjFeS/7cvN2xuLAMJUZSzL tv9x4iUg5Xq5Fzx6XeOOmaGaZRT/QxLvvYmbM32HlkexVYPb+7LyvNAcAvxc6Ye/ oixlABEBAAGInwQYAQIACQUCSrB6NQIbDAAKCRBx9XOvsbUKL6iJBAC3AH/9zvYo B5Y+ouY05II2W1KElp16rKYjGk0sPvx4mKn7fiGllGQQ/b73+0dLfJgj/lzRwfRY NApj2nQhSPwGIvuqLIWlvhXrh0sQwV6hV8mOC4FZzI1jVTGcT3yl4B6BB5XsPnW0 nvgVgzYkObV0WmK2NnlTnp/cMp8WQHEX5Q== =37xl -----END PGP PUBLIC KEY BLOCK----- repomd.xml.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iJwEAAECAAYFAkqwemcACgkQcfVzr7G1Ci9o5gQAqrDPUgcLV8Z0F4nv3Z9iWR0r S5LnTNdV8AVyjLOTc80+FzEAx55hxLRpsspVd2h0TcFmbjebLI3fOE93xpaezYAl aOKGF4fzIZn4DFLqSspjzzezEQH2Ct0HDsK+abnDc3oL3iyGs1JWi+knLk1JPGdq ANZWvy/2AKkik744T4I= =7uxu -----END PGP SIGNATURE----- Have tried it with different RSA key lengthes (1024,2048,4096) but none of them has worked. The length of the os-oss key seems to be in between 1024 and 2048: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iQEVAwUASX3sH7iLL9Q9vcKEAQhTDwgA0mqfzc9XfYXttte1hl0VEbo16WzG 8beJQEGMu2fHRVjPLKVypE9ceM/2eDe81CPKwjgNmGFG91lWXzFrpw/7x9sP/aeN 02CdjcoZwz2LavCsRCClQ2Qo3YzoqzA9ZfZ902c5t0m0dJAEqoCahE9HoJ3ekcxt XhqKPGqGAptNpZBwWuTv1nC5T0OoN2nrXGzbh56UTRm6VFY1Sng3i93Di767mvON Cnwmdv+C0GiZbJpo7QFnl6WErJR5qC3UHB+jfDUUebqqj74JFKKg7mPqFuajLJi8 68ZZgtv3YTiMScBtZxmw4d08/8/IPMYT6SU91/0/CYxd+Gj30WGZFCJ/YQ== =GiRm -----END PGP SIGNATURE----- Am 15.09.2009 23:10, schrieb Marcus Meissner:
On Wed, Sep 16, 2009 at 07:54:44AM +0200, Elmar Stellnberger wrote:
Trying to set up an own repo I have run into the problem of zypper not accepting my private key signature. Following the instructions at http://en.opensuse.org/Secure_Installation_Sources I should have successfully created all necessary files:
cd <repository directory> createrepo . gpg -a --detach-sign repodata/repomd.xml gpg -a --export <your key id> > repodata/repomd.xml.key
ls repodata/ filelists.xml.gz primary.xml.gz repomd.xml.asc repomd.xml.key other.xml.gz repomd.xml repomd.xml.asc.oss
However zypper refuses to use my repo:
zypper refresh --force Xorg-anc Forcing raw metadata refresh Retrieving repository 'Xorg-anc' metadata [error] Repository 'Xorg-anc' is invalid. File /var/tmp/TmpFile.OGmlRL doesn't contain public key data Please check if the URIs defined for this repository are pointing to a valid repository. Skipping repository 'Xorg-anc' because of the above error. Could not refresh the repositories because of errors.
Searching for similar errors on the web I have found out that zypper might have a problem with my gpg version. The oss repos repomd.xml.asc.oss starts like the following -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux)
while my own repomd.xml.asc looks like this: -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) .....
Will I have to use an elder gpg version or should I try sth. else?
And how does your repomd.xml.asc start? also BEGIN PGP SIGNATURE? ALso what does repomd.xml.key contain?
Ciao, Marcus
-- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org