First upload version 0.0.1
This commit is contained in:
8
node_modules/universal-github-app-jwt/lib/crypto-native.js
generated
vendored
Normal file
8
node_modules/universal-github-app-jwt/lib/crypto-native.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user