You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use BCL ECDiffieHellman for KeyExchange instead of BouncyCastle (.NET 8.0 onward only) (#1371)
* Use BCL ECDiffieHellman for KeyExchange (.NET 8.0 onward only)
* Add back an empty line
* Remove the BouncyCastle dependency when target .NET 8.0 onward.
* Run KeyExchangeAlgorithmTests for .NET 6.0
* Build Renci.SshNet.IntegrationTests.csproj for net6.0
* Update filter
* Add back BouncyCastle as fallback
* Add back the missing `SendMessage`
* Run ECDH KEX integration tests under .NET48
* Use SshNamedCurves instead of SecNamedCurves for BouncyCastle.
BCL supports both names. See https://github.com/dotnet/runtime/blob/main/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/OidLookup.cs#L200-L202
* typo
* Fix build
* Use System.Security.Cryptography namespace if NET8_0_OR_GREATER;
Use one parameter constructor for class ECDomainParameters
* Separate BCL and BouncyCastle implementation
---------
Co-authored-by: Wojciech Nagórski <[email protected]>
0 commit comments