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

@relaycorp/relaynet-core

Package Overview
Dependencies
Maintainers
2
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@relaycorp/relaynet-core - npm Package Compare versions

Comparing version 1.4.5 to 1.4.6

5

build/main/lib/crypto_wrappers/cms/envelopedData.js

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

async decrypt(dhPrivateKey) {
const recipientCertificate = this.pkijsEnvelopedData.recipientInfos[0].value
.recipientCertificate;
const originator = this.pkijsEnvelopedData.recipientInfos[0].value.originator;
const dhCertificate = {

@@ -149,3 +148,3 @@ subjectPublicKeyInfo: {

algorithm: {
algorithmParams: recipientCertificate.subjectPublicKeyInfo.algorithm.algorithmParams,
algorithmParams: originator.value.algorithm.algorithmParams,
},

@@ -152,0 +151,0 @@ },

@@ -128,4 +128,3 @@ // tslint:disable:no-object-mutation max-classes-per-file

async decrypt(dhPrivateKey) {
const recipientCertificate = this.pkijsEnvelopedData.recipientInfos[0].value
.recipientCertificate;
const originator = this.pkijsEnvelopedData.recipientInfos[0].value.originator;
const dhCertificate = {

@@ -135,3 +134,3 @@ subjectPublicKeyInfo: {

algorithm: {
algorithmParams: recipientCertificate.subjectPublicKeyInfo.algorithm.algorithmParams,
algorithmParams: originator.value.algorithm.algorithmParams,
},

@@ -138,0 +137,0 @@ },

4

package.json
{
"name": "@relaycorp/relaynet-core",
"version": "1.4.5",
"version": "1.4.6",
"author": {

@@ -48,3 +48,3 @@ "email": "no-reply@relaycorp.tech",

"node-webcrypto-ossl": "^1.0.47",
"pkijs": "^2.1.83",
"pkijs": "git://github.com/gnarea/PKI.js.git#built258fix",
"smart-buffer": "^4.0.2",

@@ -51,0 +51,0 @@ "uuid4": "^1.1.4",

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