mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 17:20:10 +08:00
9 lines
241 B
JavaScript
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 };
|