Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1250973

Bug#1108267: git-debpush should allow selecting the key to sign with

From "Andrej Shadura" <andrewsh@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1108267: git-debpush should allow selecting the key to sign with
Date 2025-06-24 18:40 +0200
Message-ID <L1eQG-cR8a-15@gated-at.bofh.it> (permalink)
References <L1bzs-cPc7-9@gated-at.bofh.it> <L1edY-cQEw-3@gated-at.bofh.it> <L1bzs-cPc7-9@gated-at.bofh.it> <L1edY-cQEw-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1108267: git-debpush should allow selecting the key to sign with Andrej Shadura <andrewsh@debian.org> - 2025-06-24 15:10 +0200
  Bug#1108267: git-debpush should allow selecting the key to sign with Sean Whitton <spwhitton@spwhitton.name> - 2025-06-24 18:00 +0200
    Bug#1108267: git-debpush should allow selecting the key to sign with "Andrej Shadura" <andrewsh@debian.org> - 2025-06-24 18:40 +0200
      Bug#1108267: git-debpush should allow selecting the key to sign with Ian Jackson <ijackson@chiark.greenend.org.uk> - 2025-06-24 18:40 +0200
  Bug#1108267: git-debpush should allow selecting the key to sign with Ian Jackson <ijackson@chiark.greenend.org.uk> - 2025-06-24 18:40 +0200
    Bug#1108267: git-debpush should allow selecting the key to sign with Sean Whitton <spwhitton@spwhitton.name> - 2025-06-25 11:50 +0200
      Bug#1108267: git-debpush should allow selecting the key to sign with "Andrej Shadura" <andrewsh@debian.org> - 2025-06-25 11:50 +0200
        Bug#1108267: git-debpush should allow selecting the key to sign with Ian Jackson <ijackson@chiark.greenend.org.uk> - 2025-07-17 13:50 +0200
          Bug#1108267: git-debpush should allow selecting the key to sign with Ian Jackson <ijackson@chiark.greenend.org.uk> - 2025-07-17 13:50 +0200
          Bug#1108267: git-debpush should allow selecting the key to sign with Sean Whitton <spwhitton@spwhitton.name> - 2025-07-18 11:10 +0200
  Bug#1108267: Newcomer bugs Ian Jackson <ijackson@chiark.greenend.org.uk> - 2025-08-06 17:00 +0200

csiph-web