This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/universal-github-app-jwt/lib/crypto-native.js
T

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 };