What i forgot to note:

$ gbp config buildpackage
buildpackage.ignore-new=False
buildpackage.color=auto
buildpackage.notify=auto
buildpackage.sign-tags=False
buildpackage.debian-tag=debian/%(version)s
buildpackage.debian-tag-msg=%(pkg)s Debian release %(version)s
buildpackage.upstream-tag=upstream/%(version)s
buildpackage.upstream-tree=TAG
buildpackage.pristine-tar=False
buildpackage.pristine-tar-commit=False
buildpackage.force-create=False
buildpackage.compression=auto
buildpackage.compression-level=9
buildpackage.upstream-branch=upstream
buildpackage.debian-branch=master
buildpackage.ignore-branch=False
buildpackage.submodules=False
buildpackage.builder=debuild -i -I
buildpackage.cleaner=/bin/true
buildpackage.pbuilder=False
buildpackage.qemubuilder=False
buildpackage.dist=sid
buildpackage.pbuilder-autoconf=True
buildpackage.hooks=True
buildpackage.export=HEAD
buildpackage.purge=True

which doesn't mention any key related things.

On 01/08/2016 10:34 PM, 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 <da...@debian.org>
gpg: skipped "David Paleino <da...@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



debugging
==========
( i want to replace David Paleino's key with mine in the
git-buildpackage settings.)

- i didn't found any gbp configs in the .git or in the debian/ dir.

- https://honk.sigxcpu.org/piki/projects/git-buildpackage/gbp.conf shows
a key with 0x, but i can't figure out how i can output my gpg key in
that format. And prefixing it with 0x doesn't change the result.

- with [mySecretKey], i mean the output of "gpg --list-secret-keys" (the
part after 2048R/ and before the date.) But the result is the exact same
as "gpg --list-public-keys", so i guess i did something wrong or
understood sth incorrectly.


==> Where is my mistake?

_______________________________________________
git-buildpackage mailing list
git-buildpackage@lists.sigxcpu.org
http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage
_______________________________________________
git-buildpackage mailing list
git-buildpackage@lists.sigxcpu.org
http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage

Reply via email to