PowerShell / PowerShell/Win32-OpenSSH
Version 8.1 doesn't support keys with passphrase generated by the 7.7.2.0 version
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
Steps:
- use x64
ssh-keygenfrom the 7.7.2.0 version to generate a key:
ssh-keygen -b 2048 -C "your_email@example.com" -f new_rsa - enter passphrase
This generates a key that isn't compatible with the 8.1.0.0 version
For example:
- run
ssh-keygenon generated key:
ssh-keygen -p -f new_rsa
And you'll get
Failed to load key new_rsa: invalid format
Same result will be with the ssh:
ssh hostname
Load key "c:\\Users\\<user_name>\\.ssh\\new_rsa": invalid format
Client OperatingSystem
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19041 N/A Build 19041
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the listed ssh-keygen and ssh commands, using a key generated by version 7.7.2.0 and loading it with 8.1.0.0. Compare the key parsing and compatibility paths for these commands; done means 8.1.0.0 can load and use the generated passphrase-protected key without the invalid-format error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- authentication, cli, operating-systems, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100