wolfSSL / wolfssh

wolfSSH is a small, fast, portable SSH implementation, including support for SCP and SFTP.
https://www.wolfssl.com
367 stars 88 forks source link

Using Decode Raw RSA Private Key #705

Closed ejohnstown closed 3 months ago

ejohnstown commented 3 months ago
  1. Add a check for wc_RsaPrivateKeyDecodeRaw() to configure.
  2. If wc_RsaPrivateKeyDecodeRaw() is available (from PR https://github.com/wolfSSL/wolfssl/pull/7608), use it to load the private key from GetOpenSshKeyRsa(). If unavailable, process the key the original way.
ejohnstown commented 3 months ago

I need to check I'm leaving out the right headers if that new function exists.