Files
codeql-action/node_modules/universal-github-app-jwt/lib/crypto-native.js
2025-02-19 11:13:12 -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 };