Open TJKoury opened 2 years ago
Not currently. OpenSSL also supports AES-GCM based PEM files. We’d accept a PR to support them.
MD5
and DES-CBC
algorithms are not supported by WebCrypto API. You also need an extended crypto module.
webcrypto-liner (for Browser) and @peculiar/webcrypto (for NodeJS) implement DES-CBC
.
@microshine can you provide an example of how to load an encrypted PEM (that is accepted by openssl) into x509 using your @peculiar/webcrypto library?
Any plans to support OpenSSL encrypted PEM? For now looking to support PKCS8 using pbeWithMD5AndDES-CBC to be interoperable with OpenSSL.