Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1251023
| From | Sean Whitton <spwhitton@spwhitton.name> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1108267: git-debpush should allow selecting the key to sign with |
| Date | 2025-06-25 11:50 +0200 |
| Message-ID | <L1uVs-d1Qp-5@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <L1edY-cQEw-3@gated-at.bofh.it> <L1bzs-cPc7-9@gated-at.bofh.it> <L1eQG-cR8a-5@gated-at.bofh.it> <L1bzs-cPc7-9@gated-at.bofh.it> <L1eQG-cR8a-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hello,
On Tue 24 Jun 2025 at 05:28pm +01, Ian Jackson wrote:
> Sean Whitton writes ("Bug#1108267: git-debpush should allow selecting the key
> to sign with"):
>> This is a something of a minefield because there are also DEBFULLNAME
>> and DEBEMAIL.
>
> Arguably we should use those for the tagger line in the tag?
I think we should leave it the same as the commit identity.
>> 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?
>
> Sean, you'll want to read RTFM debsign(1). It actually explains the
> behaviour (!) See in particular its CONFIGURATION VARIABLES section,
> and the description of `-mmaintainer`.
Thanks.
>> It would be better to rely on existing env vars / config rather than
>> adding new git config options.
>
> I agree with this.
>
> Open questions (which may overlap):
>
> Q1. How mkuch do we want to mimic the behaviour of debsign (which in
> turn is trying to mirror the behaviour of dpkg-source but AFAICT
> with extra env vars) ?
If people don't have to reconfigure anything and git-debpush just works,
and we don't make things completely incomprehensible to someone new who
hasn't (and may never) use debsign), that's a win.
> Q3. What is the flow of information/defaults:
> (a) Calculate the tagger line (name and email address) order.
> Then use that as the default for the key username.
> (b) Do the tagger name and email address separately from
> the key username / keyid (so name/email address env vars and
> command line options don't influence key selecction) ?
> (c) Always just use the name/email from git for the tagger line,
> and only allow overriding of the -u option to git-tag.
(d) Always just use the name/email from git for the tagger line *but*
select a keyid intelligently based on DEBFULLNAME/DEBEMAIL ?
--
Sean Whitton
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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