Repository navigation
2024.2.0.3
SSH.NET extension to generate and export authentication keys in OpenSSH and PuTTY v2/v3 format.
Features
- Fluent
SshKey.Builder()API — a chainable alternative toSshKeyGenerateInfo(generate in-memory, to aStream, or to a file)
Fixes
- Passphrases are now encoded as UTF-8 instead of ASCII. ASCII silently replaced non-ASCII characters with
?, producing keys thatssh/PuTTY could not decrypt. ASCII passphrases are unaffected (identical bytes).
Testing / CI
- Interop tests that run generated keys through the real
ssh-keygenandputtygentools - A second CI leg testing against the latest SSH.NET (not just the dependency-range floor), plus a round-trip test proving SSH.NET reads every generated format
- Replaced obsolete
RNGCryptoServiceProviderwithRandomNumberGenerator
Dependencies
System.Formats.Asn18.0.2 → 10.0.10 (GHSA-447r-wph3-92pm) and other minor/patch bumps
NuGet: https://www.nuget.org/packages/SshNet.Keygen/2024.2.0.3
Full changelog: 2024.2.0.2...2024.2.0.3