@sphereon/ssi-sdk-ext.key-utils
Advanced tools
Comparing version 0.26.1-next.22 to 0.26.1-next.23
@@ -651,3 +651,3 @@ "use strict"; | ||
const key = removeNulls(inputKey); | ||
(0, jwk_jcs_1.validateJwk)(key); | ||
(0, jwk_jcs_1.validateJwk)(key, { crvOptional: true }); | ||
const keyType = (0, exports.keyTypeFromCryptographicSuite)({ crv: key.crv, kty: key.kty, alg: key.alg }); | ||
@@ -654,0 +654,0 @@ const publicKeyHex = yield (0, exports.jwkToRawHexKey)(key); |
{ | ||
"name": "@sphereon/ssi-sdk-ext.key-utils", | ||
"description": "Sphereon SSI-SDK plugin for key creation.", | ||
"version": "0.26.1-next.22+92f1905", | ||
"version": "0.26.1-next.23+606bfa5", | ||
"source": "src/index.ts", | ||
@@ -16,3 +16,3 @@ "main": "dist/index.js", | ||
"@noble/hashes": "1.6.1", | ||
"@sphereon/ssi-sdk-ext.x509-utils": "0.26.1-next.22+92f1905", | ||
"@sphereon/ssi-sdk-ext.x509-utils": "0.26.1-next.23+606bfa5", | ||
"@sphereon/ssi-types": "0.30.2-feature.SDK.41.oidf.support.286", | ||
@@ -54,3 +54,3 @@ "@stablelib/ed25519": "^1.0.3", | ||
], | ||
"gitHead": "92f1905c9a16d3c267af904ac6928c8e3426caf1" | ||
"gitHead": "606bfa553a6635dbc890329c2d032a0e4b736b68" | ||
} |
@@ -732,3 +732,3 @@ import { randomBytes } from '@ethersproject/random' | ||
const key = removeNulls(inputKey) | ||
validateJwk(key) | ||
validateJwk(key, {crvOptional: true}) | ||
const keyType = keyTypeFromCryptographicSuite({ crv: key.crv, kty: key.kty, alg: key.alg }) | ||
@@ -735,0 +735,0 @@ const publicKeyHex = await jwkToRawHexKey(key) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
168313