Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Support SHA256 fingerprints for host key validation #565

Open
MVKozlov opened this issue Feb 12, 2024 · 6 comments
Open

Add Support SHA256 fingerprints for host key validation #565

MVKozlov opened this issue Feb 12, 2024 · 6 comments

Comments

@MVKozlov
Copy link
Contributor

I think we need it because it's default for original ssh

sshnet/SSH.NET#1098

@darkoperator
Copy link
Owner

darkoperator commented Feb 13, 2024 via email

@MVKozlov
Copy link
Contributor Author

I plan to do this in the near future, I think it’s worth making it by default, leaving the old format only for compatibility

@MVKozlov
Copy link
Contributor Author

Is it necessary to force the host to be updated to the new format in hosts.json ?

MVKozlov pushed a commit to MVKozlov/Posh-SSH that referenced this issue Feb 13, 2024
@MVKozlov
Copy link
Contributor Author

@darkoperator, What do you think about whether it is necessary to update the keys to the new format?
I prepared commits for PR

@darkoperator
Copy link
Owner

darkoperator commented Feb 19, 2024 via email

@MVKozlov
Copy link
Contributor Author

yes, at the moment I’m just testing first for a match with sha256, then md5. and then the result can be saved (now commented out).

For new hosts, a new format sha256 is always written.

It seems to me that this could be done after upgrade the version to 4.0 (you also have serious changes there with authorization)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants