Hi Helgi, Am 19.12.2016 um 15:49 schrieb Helgi Waag:
I am having trouble when signing my packages
# sign /srv/obs/jobs/x86_64/hw\:\:RHEL_7\:\:test-4486c61b9673b52a1e1c930e9e958fb6\:dir/xxxx-2.10.2-1.1.x86_64.rpm gpg: [don't know]: 1st length byte missing gpg: keydb_search failed: Invalid packet gpg: skipped "xxxx@localhost": Invalid packet gpg: signing failed: Invalid packet
I've tried regenerating gpg key with the same result.
Looks like your gpg pubring or secring is corrupt. That's not really an OBS issue, you should get the same error if you run gpg manually.
The error only seems to happen if signd is started via init, and goes away if I start signd manually:
I had some similar issue some time ago. I do not remember all details, but in the end some environment variable was not set in the init case, so it did search the gpg keyring under / instead of the correct place. ... Cheers Karsten -- Linux Consultant, Linux Kernel Developer Tel.: +49-175-7249132 Mail: keil@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org