mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-28 12:02:03 -04:00
Previously this function only supported the x509 RSA private key format. More recent versions of OpenSSH default to generating a new PEM key format, which this commit now supports using the x/crypto/ssh package. Also improve the returned error messages for various invalid ciphertext or invalid private key errors.