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

Re: [BUG] v2.45+: git commit -S invalidates signature for non-UTF-8 messages

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Apr 21, 2026, 22:13 UTC
Message-ID
<aef2g0j-ws4zZ2Zp@fruit.crustytoothpaste.net>
In-Reply-To
<c0df6dbd-47f9-4a2d-b68d-cb0c1e19ca5a@sunet.se>
On 2026-04-21 at 07:39:11, Kushal Das wrote:
> I am also wondering in the test harness for git signing, if you want to
> include other tools than gnupg for testing.

The signing code is abstract at that point in the code, so it should work identically with SSH or X.509 and I don't think a separate test is necessary.

-- 
brian m. carlson (they/them)
Toronto, Ontario, CA
Previous: Kushal DasNext: D. Ben Knoble
Message 9 of 13 in “[BUG] v2.45+: git commit -S invalidates signature for non-UTF-8 messages”
  1. Kushal DasApr 20, 2026
  2. brian m. carlsonApr 20, 2026
  3. 1/2 commit: name UTF-8 function appropriatelybrian m. carlson, Apr 20, 2026
  4. 2/2 commit: sign commit after mutating bufferbrian m. carlson, Apr 20, 2026
  5. Elijah NewrenApr 22, 2026
  6. brian m. carlsonApr 24, 2026
  7. Elijah NewrenApr 22, 2026
  8. Kushal DasApr 21, 2026
  9. brian m. carlsonApr 21, 2026
  10. D. Ben KnobleApr 22, 2026
  11. 1/2 commit: name UTF-8 function appropriatelybrian m. carlson, Apr 27, 2026
  12. 2/2 commit: sign commit after mutating bufferbrian m. carlson, Apr 27, 2026
  13. Junio C HamanoMay 12, 2026

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.