Boyuan Yang writes ("Re: Bug#1040816: dgit: gpg signing fail when comment
section exist in gpg key"):
> Please check the "DEBSIGN_KEYID" environment variable as described in
> debsign(1).
> Currently I have it set up in my bashrc. When I was using the plain
> gbp-buildpackage
> workflow, I also used the -k option whenever possible.
Thanks.
I looked at the code, and I'm not DEBSIGN_KEYID is quite right because
it would override the whole keyid. dgit tries to find the using the
changelog maintainer. Sean, what do you think? (It would be a change
to behaviour for existing users who have set DEBSIGN_KEYID.)
There is an alternative approach: dgit honours various command line
and config settings for this. There's a `-k` option, but I guess
that's not convenient for routine use.
But there's also the git config options
dgit.default.keyid
dgit-distro.DISTRO.keyid
So I think you could say
git config --global dgit-distro.debian.keyid ....
Did you see those in the manual ?
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.