Files
2026-02-05 15:27:49 +08:00

9 lines
241 B
JavaScript

const { subtle } = globalThis.crypto;
// no-op, unfortunately there is no way to transform from PKCS8 or OpenSSH to PKCS1 with WebCrypto
function convertPrivateKey(privateKey) {
return privateKey;
}
export { subtle, convertPrivateKey };