Re: [opensuse-buildservice] gpg: decryption failed: No secret key
Ok... Now we're getting somewhere... Now I get the complete sign command: /usr/bin/sign -P /srv/obs/upload/signer.32136 -S /srv/obs/jobs/i586/Butik-Server::CentOS_6::imlib2-5abd789cfc11ace94b7ff0fe11864966:dir/.checksums /srv/obs/jobs/i586/Butik-Server::CentOS_6::imlib2-5abd789cfc11ace94b7ff0fe11864966:dir/imlib2-1.4.4-6.1.i686.rpm If I run this command manually: /usr/bin/sign -P /srv/obs/upload/signer.32136 -S /srv/obs/jobs/i586/Butik-Server::CentOS_6::imlib2-5abd789cfc11ace94b7ff0fe11864966:dir/.checksums /srv/obs/jobs/i586/Butik-Server::CentOS_6::imlib2-5abd789cfc11ace94b7ff0fe11864966:dir/imlib2-1.4.4-6.1.i686.rpm /srv/obs/upload/signer.32136: No such file or directory If I remove the -P argument: /usr/bin/sign -S /srv/obs/jobs/i586/Butik-Server::CentOS_6::imlib2-5abd789cfc11ace94b7ff0fe11864966:dir/.checksums /srv/obs/jobs/i586/Butik-Server::CentOS_6::imlib2-5abd789cfc11ace94b7ff0fe11864966:dir/imlib2-1.4.4-6.1.i686.rpm and it signs the file correctly... The file in /srv/obs/upload/ is probably being generated by bs_signer.. Anyone knows what the "-P" parameter is???? It's not mentioned in the man-pages.. /Martin ----- Original meddelelse ----- Fra: "Michael Schroeder" <mls@suse.de> Til: "Martin Juhl" <mj@casalogic.dk> Sendt: torsdag, 7. august 2014 14:17:52 Emne: Re: [opensuse-buildservice] gpg: decryption failed: No secret key On Thu, Aug 07, 2014 at 01:49:31PM +0200, Martin Juhl wrote:
Yeah, that was my problem from the start..
If I do a stack trace I can see the that /root/.phrases/obsrun@localhost is open, and even that the password is extracted correctly...
I'm wondering if bs_signer is passing the wrong arguments to either gpg og sign??
Is there any way to get verbose output from bs_signer???
Well, you could simply echo the arguments before it calls sign, i.e. add print "$BSConfig::sign @signargs @signmode $jobdir/$signfile\n"; before the system() call (around line 423...). M. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (1)
-
Martin Juhl