Hi,

On Tue, 11 Jul 2023 13:37:25 +0100 Ian Jackson 
<[email protected]> wrote:
> 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 ?

I did not see them, and setting keyid via git config solves my problem, thanks.

That being said, I am not sure whether the reported bug should be further
handled. Please feel free to make changes to dgit src/documentation if you find
necessary.

Thanks,
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to