From: Danilo <mail@dbrgn.ch>
To: "Fabian Stelzer" <fs@gigacodes.de>
Cc: git@vger.kernel.org
Subject: Re: SSH Key Signatures: Feedback
Date: Mon, 15 Nov 2021 11:31:00 +0100 [thread overview]
Message-ID: <9d264d41-7b24-40db-9c3e-28a8275db835@www.fastmail.com> (raw)
In-Reply-To: <20211115101945.scikeaptstuy64mi@fs>
Hello Fabian
> Unfortunately the flag
> themselves are often named --gpg-sign / commit.gpgSign which we can't
> change. We might add a new, more generically named flag & config as an
> alias to these in the future.
Aliases sound like a good idea, this would allow for a slow phase-out of the old flags.
> Regarding the error messages I quite agree with you and had similar
> feedback with our internal testers. These error messages (invalid format
> & unexpected internal error) originate from ssh-keygen. I already
> checked if we can improve these but its not easy since those come from
> quite deep within ssh library code :/. I'll see what i can do, but since
> this changes ssh-keygen behaviour I'm not sure how well received changes
> like this would be.
I see. However, maybe some common cases (like missing or empty files) could be detected by git before even invoking the ssh-keygen command?
> When you say `gpg.ssh.allowedSigners` is not set is the option not
> present? or is it empty? The code should actually trigger
> `error(_("gpg.ssh.allowedSignersFile needs to be configured and exist
> for ssh signature verification"));` in this case.
The option `gpg.ssh.allowedSigners` is not present at all. I just checked again, and noticed that the error message you mentioned *is* there, however it's not part of the red error block, so I overlooked it: https://i.imgur.com/LLvrrxO.png
All other errors are part of the red error block, and are thus much more obvious to see.
Cheers,
Danilo
prev parent reply other threads:[~2021-11-15 10:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 9:52 SSH Key Signatures: Feedback Danilo
2021-11-15 10:19 ` Fabian Stelzer
2021-11-15 10:31 ` Danilo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9d264d41-7b24-40db-9c3e-28a8275db835@www.fastmail.com \
--to=mail@dbrgn.ch \
--cc=fs@gigacodes.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).