[opensuse-buildservice] extend GPG key for project
Hi, our key on the public instance of the buildservice expires in october this year. We want to extend the key prior this date. I am trying to extend the key on our local instance, which basically links all public packages. osc signkey PROJECT outputs me the currently used PGP public key. obs signkey --extend PROJECT gives me: Server returned an error: HTTP Error 400: Bad Request don't know how to extend a key Any suggestion where to look to extend the key? Regards Mathias -- Mathias Radtke --- http://uib.de/de/support-schulung/schulung/ uib gmbh Bonifaziusplatz 1B 55118 Mainz Tel. 06131 / 27561-16 <phone:+49 61312756116> Fax 06131 / 27561-22 <phone:+49 61312756122> E-Mail: m.radtke@uib.de Internet: www.uib.de Geschäftsführer: dr. detlef oertel & erol ueluekmen Handelsregister: Amtsgericht Mainz HRB 6942 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Aug 22 2019, Mathias Radtke <m.radtke@uib.de> wrote:
Server returned an error: HTTP Error 400: Bad Request don't know how to extend a key
If you get that error, then you haven't enabled signing ($BSConfig::sign is undefined). Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi On 22.08.19 15:02, Andreas Schwab wrote:
If you get that error, then you haven't enabled signing ($BSConfig::sign is undefined).
From BSConfig.pm
#No package signing server our $sign = "/usr/bin/sign"; #Extend sign call with project name as argument "--project $NAME" #our $sign_project = 1; #Global sign key our $keyfile = "/srv/obs/obs-default-gpg.asc"; our $gpg_standard_key = "/srv/obs/obs-default-gpg.asc"; # which sign /usr/bin/sign Seems it is set. -- Mathias Radtke --- http://uib.de/de/support-schulung/schulung/ uib gmbh Bonifaziusplatz 1B 55118 Mainz Tel. 06131 / 27561-16 <phone:+49 61312756116> Fax 06131 / 27561-22 <phone:+49 61312756122> E-Mail: m.radtke@uib.de Internet: www.uib.de Geschäftsführer: dr. detlef oertel & erol ueluekmen Handelsregister: Amtsgericht Mainz HRB 6942 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, Aug 22, 2019 at 04:43:21PM +0200, Mathias Radtke wrote:
On 22.08.19 15:02, Andreas Schwab wrote:
If you get that error, then you haven't enabled signing ($BSConfig::sign is undefined).
From BSConfig.pm
#No package signing server our $sign = "/usr/bin/sign"; #Extend sign call with project name as argument "--project $NAME" #our $sign_project = 1; #Global sign key our $keyfile = "/srv/obs/obs-default-gpg.asc"; our $gpg_standard_key = "/srv/obs/obs-default-gpg.asc";
# which sign /usr/bin/sign
Seems it is set.
The code reads: die("don't know how to extend a key\n") unless $BSConfig::sign; so it's not set in the running src server process. Maybe it works if you restart the src server? Cheers, Michael. -- Michael Schroeder mls@suse.de 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@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Mathias Radtke
-
Michael Schroeder