@sigstore/core
Advanced tools
+10
-1
@@ -28,3 +28,12 @@ "use strict"; | ||
| if (typeof key === 'string') { | ||
| return crypto_1.default.createPublicKey(key); | ||
| if (key.startsWith('-----')) { | ||
| return crypto_1.default.createPublicKey(key); | ||
| } | ||
| else { | ||
| return crypto_1.default.createPublicKey({ | ||
| key: Buffer.from(key, 'base64'), | ||
| format: 'der', | ||
| type: type, | ||
| }); | ||
| } | ||
| } | ||
@@ -31,0 +40,0 @@ else { |
+1
-1
| { | ||
| "name": "@sigstore/core", | ||
| "version": "3.1.0", | ||
| "version": "3.2.0", | ||
| "description": "Base library for Sigstore", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
90157
0.28%1997
0.45%