Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add support for PuTTY ppk format private key files #468

Closed
wants to merge 4 commits into from

Conversation

rmini
Copy link

@rmini rmini commented Sep 16, 2018

No description provided.

@darkoperator
Copy link

darkoperator commented Sep 16, 2018 via email

@rmini rmini requested a review from drieseng as a code owner February 17, 2022 19:33
@darinkes
Copy link
Collaborator

This PR is missing ecdsa and ed25519 keys. DSS keys support should be dropped.
Tests are also missing.

There is also this SSH.NET Extension: https://github.com/darinkes/SshNet.PuttyKeyFile

@IgorMilavec
Copy link
Collaborator

@darinkes what are your plans with SshNet.PuttyKeyFile extension? Will you contribute it to SSH.NET? I kinda like the idea of separating out different file format support into different packages. If you decide to go down that route, could you release the extension on NuGet to make it easier for developers to find and use?

@darinkes
Copy link
Collaborator

darinkes commented Feb 19, 2022

@IgorMilavec Thats the plan. SSH.NET offers interfaces so ppl can add extensions seperated from the core.
Especially Auth-Options can benefit from this, since there are sooo many of them.

Started some Extension, based on a custom IPrivateKeyFile-Extension, which I would like to discuss:

https://github.com/darinkes/SshNet.Agent
https://github.com/darinkes/SshNet.Keygen
https://github.com/darinkes/SshNet.PuttyKeyFile

Some of them are already on nuget.org: https://www.nuget.org/profiles/darinkes
But they need changes in ssh.net core, so nothing announced yet.

Maybe they should also be maintained on the sshnet-Github Account to show they are trustworthy?

@IgorMilavec
Copy link
Collaborator

I propose to first implement support for extensibility, so external "key providers" can be built without forking. After that I think it would be great if we could bring the most relevant (= usable to most developers) extensions under sshnet maintenance.

@IgorMilavec
Copy link
Collaborator

@mini #794 has been merged, can you please check how it affects this PR?

@mini
Copy link

mini commented Mar 24, 2022

No idea! :P

@Kim-SSi
Copy link

Kim-SSi commented Apr 28, 2023

The is a project that adds ppk support this but it depends on the latest develop.
It is @darinkes project SshNet.PuttyKeyFile
I have opened a pull request on to add ppk v3 support darinkes/SshNet.PuttyKeyFile#2
Although this does require net46 or .netstandard20 for encrypted ppk v3.

@Rob-Hague
Copy link
Collaborator

I'll close this since as above, https://github.com/darinkes/SshNet.PuttyKeyFile is a more complete implementation.

@Rob-Hague Rob-Hague closed this May 23, 2024
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.

None yet

7 participants