Skip to content

[ssh-keygen] fix fido2 key filename translation on Windows - #826

Merged
Tess Gauthier (tgauth) merged 2 commits into
PowerShell:latestw_allfrom
tgauth:ssh-keygen-fix
Jan 9, 2026
Merged

Tess Gauthier (tgauth) merged 2 commits into
PowerShell:latestw_allfrom
tgauth:ssh-keygen-fix

Conversation

@tgauth

Copy link
Copy Markdown
Collaborator

Copilot AI review requested due to automatic review settings January 7, 2026 20:28
@tgauth Tess Gauthier (tgauth) changed the title replace colon in filename with underscore [ssh-keygen] fix fido2 key filename translation on Windows Jan 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes issue #2418 by replacing colons with underscores in filenames on Windows, where colons are not valid filename characters outside of drive letters.

Key changes:

  • Adds Windows-specific code to sanitize filenames by replacing colons with underscores in the sk_suffix function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ssh-keygen.c Resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@tgauth

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@tgauth
Tess Gauthier (tgauth) merged commit 745466f into PowerShell:latestw_all Jan 9, 2026
@tgauth
Tess Gauthier (tgauth) deleted the ssh-keygen-fix branch January 9, 2026 20:34
Hazel Duvall (hazelduvall) pushed a commit to hazelduvall/openssh-portable that referenced this pull request May 6, 2026
…l#826)

* replace colon in filename with underscore

* Update ssh-keygen.c

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fido2 key filename should remove colon in filename

3 participants