[opensuse-buildservice] Bad interaction between sign-2.1.2/srcserver-2.0.5
Hi, I followed http://wiki.opensuse.org/openSUSE:Build_Service_Signer and got sign/signd running so far. On trying to create a key with osc signkey --create localprj I get this in /srv/obs/log/src_server.log (I added the "but you used" line in the source code): 2010-08-04 18:59:22 [10022]: POST /source/osc2?cmd=createkey&user=jengelh usage: sign [-c|-d|-r] [-u user] <file> But you used: /usr/bin/sign --project osc2 -P /srv/obs/sources/:upload/signkey.10022 -g dsa@1024 800 osc2 OBS Project osc2@ares.medozas.de 127.0.0.1: /usr/bin/sign: 256 Why is obs-server-2.0.5 using all these options when sign-2.1.2 does not even accept them? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Aug 4, 2010 at 13:03, Jan Engelhardt
Hi,
I followed http://wiki.opensuse.org/openSUSE:Build_Service_Signer and got sign/signd running so far. On trying to create a key with
osc signkey --create localprj
I get this in /srv/obs/log/src_server.log (I added the "but you used" line in the source code):
2010-08-04 18:59:22 [10022]: POST /source/osc2?cmd=createkey&user=jengelh usage: sign [-c|-d|-r] [-u user] <file> But you used: /usr/bin/sign --project osc2 -P /srv/obs/sources/:upload/signkey.10022 -g dsa@1024 800 osc2 OBS Project osc2@ares.medozas.de 127.0.0.1: /usr/bin/sign: 256
Why is obs-server-2.0.5 using all these options when sign-2.1.2 does not even accept them?
I've had the same error code; For some reason, sign doesn't like the "--project". You have to disable using that in BSConfig.pm. -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wednesday 04 August 2010 19:03:08 Jan Engelhardt wrote:
Hi,
I followed http://wiki.opensuse.org/openSUSE:Build_Service_Signer and got sign/signd running so far. On trying to create a key with
osc signkey --create localprj
I get this in /srv/obs/log/src_server.log (I added the "but you used" line in the source code):
2010-08-04 18:59:22 [10022]: POST /source/osc2?cmd=createkey&user=jengelh usage: sign [-c|-d|-r] [-u user] <file> But you used: /usr/bin/sign --project osc2 -P /srv/obs/sources/:upload/signkey.10022 -g dsa@1024 800 osc2 OBS Project osc2@ares.medozas.de 127.0.0.1: /usr/bin/sign: 256
Why is obs-server-2.0.5 using all these options when sign-2.1.2 does not even accept them?
--project is not supported by sign in any version. Just don't enable the option in BSConfig -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wednesday 2010-08-04 20:52, Adrian Schröter wrote:
On Wednesday 04 August 2010 19:03:08 Jan Engelhardt wrote:
Hi,
I followed http://wiki.opensuse.org/openSUSE:Build_Service_Signer and got sign/signd running so far. On trying to create a key with
osc signkey --create localprj
I get this in /srv/obs/log/src_server.log (I added the "but you used" line in the source code):
2010-08-04 18:59:22 [10022]: POST /source/osc2?cmd=createkey&user=jengelh usage: sign [-c|-d|-r] [-u user] <file> But you used: /usr/bin/sign --project osc2 -P /srv/obs/sources/:upload/signkey.10022 -g dsa@1024 800 osc2 OBS Project osc2@ares.medozas.de 127.0.0.1: /usr/bin/sign: 256
Why is obs-server-2.0.5 using all these options when sign-2.1.2 does not even accept them?
--project is not supported by sign in any version.
Just don't enable the option in BSConfig
Eh... so what program _does_ support --project, if not obs-sign? Otherwise it would not have a raison d'être. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Aug 04, 2010 at 09:18:19PM +0200, Jan Engelhardt wrote:
Eh... so what program _does_ support --project, if not obs-sign? Otherwise it would not have a raison d'être.
It's for people who want to have their own key management. In that case BSConfig::sign typecally points to a script that selects the key to use by looking at the --project argument. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thursday 2010-08-05 11:16, Michael Schroeder wrote:
On Wed, Aug 04, 2010 at 09:18:19PM +0200, Jan Engelhardt wrote:
Eh... so what program _does_ support --project, if not obs-sign? Otherwise it would not have a raison d'être.
It's for people who want to have their own key management. In that case BSConfig::sign typecally points to a script that selects the key to use by looking at the --project argument.
Does build.opensuse.org have its own key management or does it use the plain obs-sign? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Aug 05, 2010 at 12:13:28PM +0200, Jan Engelhardt wrote:
On Thursday 2010-08-05 11:16, Michael Schroeder wrote:
On Wed, Aug 04, 2010 at 09:18:19PM +0200, Jan Engelhardt wrote:
Eh... so what program _does_ support --project, if not obs-sign? Otherwise it would not have a raison d'être.
It's for people who want to have their own key management. In that case BSConfig::sign typecally points to a script that selects the key to use by looking at the --project argument.
Does build.opensuse.org have its own key management or does it use the plain obs-sign?
We use a small script so that the openSUSE distributions get signed with the correct key. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Aug 5, 2010 at 07:47, Michael Schroeder
On Thu, Aug 05, 2010 at 12:13:28PM +0200, Jan Engelhardt wrote:
On Thursday 2010-08-05 11:16, Michael Schroeder wrote:
On Wed, Aug 04, 2010 at 09:18:19PM +0200, Jan Engelhardt wrote:
Eh... so what program _does_ support --project, if not obs-sign? Otherwise it would not have a raison d'être.
It's for people who want to have their own key management. In that case BSConfig::sign typecally points to a script that selects the key to use by looking at the --project argument.
Does build.opensuse.org have its own key management or does it use the plain obs-sign?
We use a small script so that the openSUSE distributions get signed with the correct key.
So it is possible to have certain projects signed differently? What script would do this? -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Aug 05, 2010 at 09:45:02AM -0400, Robert Xu wrote:
On Thu, Aug 5, 2010 at 07:47, Michael Schroeder
wrote: On Thu, Aug 05, 2010 at 12:13:28PM +0200, Jan Engelhardt wrote:
On Thursday 2010-08-05 11:16, Michael Schroeder wrote:
On Wed, Aug 04, 2010 at 09:18:19PM +0200, Jan Engelhardt wrote:
Eh... so what program _does_ support --project, if not obs-sign? Otherwise it would not have a raison d'être.
It's for people who want to have their own key management. In that case BSConfig::sign typecally points to a script that selects the key to use by looking at the --project argument.
Does build.opensuse.org have its own key management or does it use the plain obs-sign?
We use a small script so that the openSUSE distributions get signed with the correct key.
So it is possible to have certain projects signed differently? What script would do this?
What do you mean? Just set $BSConfig::sign_project and configure $BSConfig::sign to point to some mini script that uses some different key for some projects. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Adrian Schröter
-
Jan Engelhardt
-
Michael Schroeder
-
Robert Xu