Mailinglist Archive: opensuse-buildservice (177 mails)

< Previous Next >
Re: [opensuse-buildservice] gpg: [don't know]: 1st length byte missing
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:

linux:~ # service obssignd start
linux:~ # sign -v package-name-2.10.2-1.1.x86_64-3.rpm
rpm sign package-name-2.10.2-1.1.x86_64-3.rpm user xxxxx@localhost.localdomain
gpg: [don't know]: 1st length byte missing
gpg: keydb_search failed: Invalid packet
gpg: skipped "xxxxx@localhost.localdomain": Invalid packet
gpg: signing failed: Invalid packet
linux:~ # service obssignd stop
linux:~ # signd &
[1] 7648
linux:~ # 2016-12-19 14:38:51: signd started
^C
linux:~ # sign -v package-name-2.10.2-1.1.x86_64-3.rpm
rpm sign package-name-2.10.2-1.1.x86_64-3.rpm user xxxxx@localhost.localdomain
2016-12-19 14:39:59: 127.0.0.1: sign xxxxx@localhost.localdomain
662ea45f1bac2065dcfeb96bf7d5ca3f8e6b7c90@005857f13f
cf6bc942c9efedc49d909f9fdea3dda6b82e030e@005857f13f
linux:~ # sign -v package-name-2.10.2-1.1.x86_64-3.rpm
package-name-2.10.2-1.1.x86_64-3.rpm: already signed
linux:~ #

So I'll have a look at /etc/init.d/obssignd

Helgi Waag


----- Original Message -----
From: "Michael Schroeder" <mls@xxxxxxx>
To: "Helgi Waag" <hw@xxxxxxxxxxxx>
Cc: "opensuse-buildservice" <opensuse-buildservice@xxxxxxxxxxxx>
Sent: Monday, 19 December, 2016 15:27:25
Subject: Re: [opensuse-buildservice] gpg: [don't know]: 1st length byte missing

On Mon, Dec 19, 2016 at 11:20:50AM +0100, Helgi Waag wrote:
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.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups