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

Bug with bash and OpenSSL usage on Windows

From
TATim Abdiukov <tabdiukov@gmail.com>
Date
Jul 26, 2024, 19:40 UTC
Message-ID
<CAD+08a87xxVRxO1eiWiam-7xvq=AyKUB-MzqG-r=rM_SYbquBQ@mail.gmail.com>
  What did you do before the bug happened? (Steps to reproduce your issue)
Tried to generate a self-signed certificate using git bash.

Using git bash, I ran ``` openssl genrsa -aes256 (private key location) 4096 ``` however, openssl just hung (on Windows). Cmd can execute this command, but bash cannot.

What did you expect to happen? (Expected behavior)
openssl to generate messages about key generation to stdout
What happened instead? (Actual behavior)
openssl just hung
What's different between what you expected and what actually happened?
openssl just hung, rendering it unusable within bash Windows
Anything else you want to add:
This is an issue specifically with Windows x64.

Please review the rest of the bug report below. You can delete any lines you don't wish to share.

[System Info] git version: git version 2.45.2.windows.1 cpu: x86_64 built from commit: 91d03cb2e4fbf6ad961ace739b8a646868cb154d sizeof-long: 4 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Windows 10.0 19044 compiler info: gnuc: 14.1 libc info: no libc information available $SHELL (typically, interactive shell): C:\Program Files\Git\usr\bin\bash.exe

[Enabled Hooks] not run from a git repository - no hooks to show

Next: Tim Abdiukov
Message 1 of 9 in “Bug with bash and OpenSSL usage on Windows”
  1. Tim AbdiukovJul 26, 2024
  2. Tim AbdiukovJul 26, 2024
  3. brian m. carlsonJul 27, 2024
  4. Junio C HamanoJul 27, 2024
  5. Junio C HamanoJul 27, 2024
  6. Eric SunshineJul 27, 2024
  7. brian m. carlsonJul 27, 2024
  8. Jeff KingJul 27, 2024
  9. Johannes SchindelinAug 13, 2024

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.