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

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

Package Overview
Dependencies
Maintainers
0
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.26.1-next.4 to 0.26.1-next.5

3

dist/x509/x509-validator.js

@@ -102,3 +102,4 @@ "use strict";

}
const certs = pemOrDerChain.map(x509_utils_1.pemOrDerToX509Certificate);
// x5c always starts with the leaf cert at index 0 and then the cas. Our internal pkijs service expects it the other way around
const certs = pemOrDerChain.map(x509_utils_1.pemOrDerToX509Certificate).reverse();
const trustedCerts = trustedPEMs ? trustedPEMs.map(x509_utils_1.pemOrDerToX509Certificate) : undefined;

@@ -105,0 +106,0 @@ defaultCryptoEngine();

{
"name": "@sphereon/ssi-sdk-ext.x509-utils",
"description": "Sphereon SSI-SDK plugin functions for X.509 Certificate handling.",
"version": "0.26.1-next.4+175cd80",
"version": "0.26.1-next.5+3dbfe73",
"source": "src/index.ts",

@@ -40,3 +40,3 @@ "main": "dist/index.js",

],
"gitHead": "175cd8041e4b7f8c761b5519d44ec0602e2be88c"
"gitHead": "3dbfe73665f102d9c51e180199348cc8288f2a9c"
}

@@ -137,3 +137,4 @@ import x509 from 'js-x509-utils'

const certs = pemOrDerChain.map(pemOrDerToX509Certificate)
// x5c always starts with the leaf cert at index 0 and then the cas. Our internal pkijs service expects it the other way around
const certs = pemOrDerChain.map(pemOrDerToX509Certificate).reverse()
const trustedCerts = trustedPEMs ? trustedPEMs.map(pemOrDerToX509Certificate) : undefined

@@ -140,0 +141,0 @@ defaultCryptoEngine()

Sorry, the diff of this file is not supported yet

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