Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sphereon/ssi-sdk-ext.key-utils

Package Overview
Dependencies
Maintainers
4
Versions
351
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sphereon/ssi-sdk-ext.key-utils - npm Package Compare versions

Comparing version 0.26.1-feature.OIDF.69.68 to 0.26.1-feature.OIDF.69.80

4

dist/functions.js

@@ -681,3 +681,3 @@ "use strict";

return __awaiter(this, arguments, void 0, function* ({ data, signature, key: inputKey, opts, }) {
var _b;
var _b, _c;
/**

@@ -717,3 +717,3 @@ * Converts a Base64URL-encoded JWK property to a BigInt.

case 'RSA': {
const signatureAlgorithm = (_b = opts === null || opts === void 0 ? void 0 : opts.signatureAlg) !== null && _b !== void 0 ? _b : ssi_types_1.JoseSignatureAlgorithm.PS256;
const signatureAlgorithm = (_c = (_b = opts === null || opts === void 0 ? void 0 : opts.signatureAlg) !== null && _b !== void 0 ? _b : jwk.alg) !== null && _c !== void 0 ? _c : ssi_types_1.JoseSignatureAlgorithm.PS256;
const hashAlg = signatureAlgorithm === (ssi_types_1.JoseSignatureAlgorithm.RS512 || ssi_types_1.JoseSignatureAlgorithm.PS512)

@@ -720,0 +720,0 @@ ? sha512_1.sha512

{
"name": "@sphereon/ssi-sdk-ext.key-utils",
"description": "Sphereon SSI-SDK plugin for key creation.",
"version": "0.26.1-feature.OIDF.69.68+f67be2d",
"version": "0.26.1-feature.OIDF.69.80+8f9e94e",
"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-feature.OIDF.69.68+f67be2d",
"@sphereon/ssi-sdk-ext.x509-utils": "0.26.1-feature.OIDF.69.80+8f9e94e",
"@sphereon/ssi-types": "0.30.2-feature.SDK.41.oidf.support.286",

@@ -54,3 +54,3 @@ "@stablelib/ed25519": "^1.0.3",

],
"gitHead": "f67be2dd8d9f1ee8de699f73e379eeddcac05864"
"gitHead": "8f9e94ec0082daf4bc322df75ae516e66a06c35b"
}

@@ -805,3 +805,3 @@ import { randomBytes } from '@ethersproject/random'

case 'RSA': {
const signatureAlgorithm = opts?.signatureAlg ?? JoseSignatureAlgorithm.PS256
const signatureAlgorithm = opts?.signatureAlg ?? jwk.alg as JoseSignatureAlgorithm | undefined ?? JoseSignatureAlgorithm.PS256
const hashAlg =

@@ -808,0 +808,0 @@ signatureAlgorithm === (JoseSignatureAlgorithm.RS512 || JoseSignatureAlgorithm.PS512)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc