rustls-pemfile This is a basic parser for PEM-encodings commonly used for storing keys and certificates at rest. It doesn't support reading encrypted keys: the cryptography standardised for this is typically very poor and doing so doesn't address a meaningful threat model. ...
Using rustls_pemfile::rsa_private_keys is overly specific, limiting use to just RSA keys with PKCS#1 encoding. This commit switches to using rustls_pemfile::private_key which is tailor made for loading one private key in any of the supported formats. Upd