Yubikey PIN prompt appears twice on Windows when signing commits using SSH key · Issue #1424 · carloscuesta/gitmoji-cli · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using gitmoji-cli on Windows with Git configured to sign commits using an SSH key stored on a Yubikey. Everything works correctly except for one issue: when I commit using gitmoji-cli, I'm prompted to enter my Yubikey PIN twice.
This only happens on Windows. On Linux, the PIN prompt is shown once via the shell and then the commit proceeds as expected. On Windows, normally a single system dialog appears asking for the PIN — but when using gitmoji-cli, I see one shell prompt and one system dialog, effectively asking for the PIN twice.
Here’s some more context:
Git is set up to sign commits using an SSH key backed by a physical Yubikey.
This behavior only happens with gitmoji-cli. Regular git commit only prompts once (as expected).
It seems like the commit signing is being triggered twice in some way.
Would be great if this could be investigated or if there's a workaround! Let me know if more logs or setup info would help.
Describe the bug
I'm using gitmoji-cli on Windows with Git configured to sign commits using an SSH key stored on a Yubikey. Everything works correctly except for one issue: when I commit using gitmoji-cli, I'm prompted to enter my Yubikey PIN twice.
This only happens on Windows. On Linux, the PIN prompt is shown once via the shell and then the commit proceeds as expected. On Windows, normally a single system dialog appears asking for the PIN — but when using gitmoji-cli, I see one shell prompt and one system dialog, effectively asking for the PIN twice.
Here’s some more context:
Would be great if this could be investigated or if there's a workaround! Let me know if more logs or setup info would help.
Reproduction
git commit -m "test"
Only one system prompt appears asking for the Yubikey PIN.
You're prompted twice for the PIN: once in the terminal and once via system UI.
System Info
Validations
The text was updated successfully, but these errors were encountered: