Skip to content

Conversation

@Kim-SSi
Copy link
Contributor

@Kim-SSi Kim-SSi commented Apr 27, 2023

Add ppk v3 support.
ppk v3 encryption uses Konscious.Security.Cryptography.Argon2 package and requires net46+/netstandard1.3/net6.0. Add net462 target
Change to develop SSH.NET
Rename existing ppk v2 test files
Add ppk v3 test files matching v2 files

ppk v3 encryption uses Konscious.Security.Cryptography.Argon2 package and requires net46+/netstandard1.3/net6.0.
Add net462 target
Change to develop SSH.NET
Rename existing ppk v2 test files
Add ppk v3 test files matching v2 files
@Kim-SSi
Copy link
Contributor Author

Kim-SSi commented Apr 27, 2023

Note:
Encrypted ppk v3 throws a SshException on .NET 4.0 due to the missing Argon2.
Plain ppk v3 does work on .NET 4.0

Kim-SSi added 2 commits April 27, 2023 18:02
Change windows-latest to windows-2019 as it has .NET 3.5 for SSH.NET
@Kim-SSi
Copy link
Contributor Author

Kim-SSi commented Apr 27, 2023

New: A method to use the Regex pattern to identify ppk files
public static bool IsPuttyPrivateKey(string keyText)

@darinkes
Copy link
Owner

Cleanup of the changes here: #3

@darinkes darinkes closed this Nov 29, 2023
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.

2 participants