[git-buildpackage] finding the correct gpg key for building package

Guido Günther agx at sigxcpu.org
Sat Jan 9 11:19:43 CET 2016


Hi,
On Fri, Jan 08, 2016 at 10:34:48PM +0100, toogley wrote:
> 
> Hello,
> 
> i want to build the wicd package, but i seem to have problems with my gpg
> key for signing the packages.
> 
> $ git clone https://anonscm.debian.org/git/collab-maint/wicd.git  && cd wicd
> $ git checkout stable
> $ gbp buildpackage --git-debian-branch=stable --git-keyid=[mySecretKey]
> [...]
> Now signing changes and any dsc files...
>  signfile wicd_1.7.0+ds1-5+squeeze3.dsc David Paleino <dapal at debian.org>
> gpg: skipped "David Paleino <dapal at debian.org>": secret key not available
> gpg: /tmp/debsign.o9tmM8JI/wicd_1.7.0+ds1-5+squeeze3.dsc: clearsign failed:
> secret key not available
> debsign: gpg error occurred!  Aborting....
> debuild: fatal error at line 1295:
> running debsign failed
> gbp:error: 'debuild -i -I' failed: it exited with 29

The --git-keyid option is for signing tags (see the man page). The key
for signing the package can be set via devscripts.conf, see the debsign
manpage.

Cheers,
 -- Guido


More information about the git-buildpackage mailing list