git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Fixing constant preference prompts during tests

From
Tacitus Aedifex <aedifex@sdf.org>
Date
Sep 26, 2018, 21:37 UTC
Message-ID
<20180926213703.GA22278@SDF.ORG>
In-Reply-To
<xmqqh8icmb8l.fsf@gitster-ct.c.googlers.com>
On Wed, Sep 26, 2018 at 10:15:06AM -0700, Junio C Hamano wrote:
Show 5 quoted lines
>Nobody raised this so far as far as I recall; thanks for the first
>one to do so, as it is a sign that you are doing something unusual
>(e.g. have newer or different version of GPG than most other people)
>and others will hit by the same symptom later when whatever thing
>you are using as a minority right now becomes more prevalent.

Indeed I am. I use Qubes OS with a split GPG setup. I have a virtual machine dedicated to handling my crypto keys and I use the qubes GPG wrapper to interact with the signing VM through the Xen hypervisor. I think the only thing that needs to change is that the tests respect gpg.program setting in .gitconfig. Signing and verifying commits and tags works perfectly but the tests don't allow me to override which program is used.

It may be a little more complicated than this because looking at the tests it seems like they set up their own dummy user with dummy keys and use gpg directly. I have gpg installed on my client VM so in theory it should work. I can't tell exctly where the prompt is coming from.

//tæ
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “Fixing constant preference prompts during tests”
  1. Tacitus AedifexSep 26, 2018
  2. Junio C HamanoSep 26, 2018
  3. Tacitus AedifexSep 26, 2018
  4. Junio C HamanoSep 26, 2018
  5. Tacitus AedifexSep 27, 2018
  6. brian m. carlsonSep 27, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.