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

Re: [PATCH] ssh signing: don't detach the filename strbuf from key_file tempfile

From
redoste <redoste@redoste.xyz>
Date
Jul 6, 2025, 17:14 UTC
Message-ID
<DB553KB95680.28G0KIGGWCW9L@redoste.xyz>
In-Reply-To
<aGnDO3HIAQgsRbnJ@fruit.crustytoothpaste.net>
On Sun Jul 6, 2025 at 02:28 CEST, brian m. carlson wrote:
> I think `find` is typically better in scripting and also in this case
> with a separate directory as the temporary directory we'll find any left
> over temporary files, not just the pattern we've fixed here.
Thanks for the feedback!

I used `ls` since it was the easiest way to have something that fails quickly if a file doesn't exists (and `test -e` doesn't support having multiple files), but I agree, using `find` this way is definitely cleaner.

> I'll send a patch to fix the policy.
Thanks!
-- 
redoste
Previous: redosteNext: redoste
Message 9 of 21 in “ssh signing: don't detach the filename strbuf from key_file tempfile”
  1. ssh signing: don't detach the filename strbuf from key_file tempfileredoste, Jul 4, 2025
  2. Jeff KingJul 5, 2025
  3. brian m. carlsonJul 5, 2025
  4. redosteJul 5, 2025
  5. redosteJul 5, 2025
  6. brian m. carlsonJul 6, 2025
  7. Jeff KingJul 6, 2025
  8. redosteJul 6, 2025
  9. redosteJul 6, 2025
  10. ssh signing: don't detach the filename strbuf from key_file tempfileredoste, Jul 6, 2025
  11. brian m. carlsonJul 6, 2025
  12. Patrick SteinhardtJul 7, 2025
  13. Phillip WoodJul 7, 2025
  14. redosteJul 7, 2025
  15. Phillip WoodJul 7, 2025
  16. redosteJul 7, 2025
  17. Phillip WoodJul 7, 2025
  18. ssh signing: don't detach the filename strbuf from key_file tempfileredoste, Jul 7, 2025
  19. Junio C HamanoJul 7, 2025
  20. Patrick SteinhardtJul 8, 2025
  21. Phillip WoodJul 8, 2025

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.