Hi,

On Tue, 24 Jun 2025, at 17:50, Sean Whitton wrote:
>> Please allow selecting the key to be used for signing using one or more
>> of these:
>>
>> * DEB_SIGN_KEYID environment variable
>> * DEBSIGN_KEYID variable in ~/.devscripts
>> * a setting in the Git config, e.g. debpush.keyid, dgit.keyid etc.

> This is a something of a minefield because there are also DEBFULLNAME
> and DEBEMAIL.

Well, these are for changelog trailers/commit metadata. I sometimes use my work 
email in those, but that key is not in the Debian keyring.

> In my ~/.devscripts I have both DEB_SIGN_KEYID and DEBSIGN_KEYID; I have
> no idea why.  Do you have references for these two variables?

DEBSIGN_* is only used by debsign and only as a ~/.devscripts variable, not as 
an environment variable. DEB_SIGN_* is used by dpkg-buildpackage and only as an 
environment variable.

I source ~/. devscripts from my ~/.profile and export some of those, likely you 
did something similar back in the day :)

> It would be better to rely on existing env vars / config rather than
> adding new git config options.

Yes, but OTOH dgit has already set the precedent.

-- 
Cheers,
  Andrej

Reply via email to