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

node-opcua-crypto

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-crypto - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

7

dist/source/asn1.d.ts

@@ -20,6 +20,9 @@ /// <reference types="node" />

UniversalString = 28,
BMPString = 30
BMPString = 30,
SEQUENCE = 48,
SET = 49,
A3 = 163
}
export interface BlockInfo {
tag: TagType;
tag: TagType | number;
position: number;

@@ -26,0 +29,0 @@ length: number;

@@ -27,2 +27,5 @@ "use strict";

TagType[TagType["BMPString"] = 30] = "BMPString";
TagType[TagType["SEQUENCE"] = 48] = "SEQUENCE";
TagType[TagType["SET"] = 49] = "SET";
TagType[TagType["A3"] = 163] = "A3";
})(TagType = exports.TagType || (exports.TagType = {}));

@@ -29,0 +32,0 @@ function readTag(buf, pos) {

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

: null,
keyIdentifier: keyIdentifier_block ? asn1_1.formatBuffer2DigitHexWithColum(asn1_1._getBlock(buffer, keyIdentifier_block)) : null,
keyIdentifier: keyIdentifier_block ? asn1_1.formatBuffer2DigitHexWithColum(asn1_1._getBlock(buffer, keyIdentifier_block)) : null, // can be null for self-signed certf
};

@@ -457,2 +457,4 @@ }

subjectPublicKey: _readSubjectPublicKey(subjectPublicKey.data),
//xx values: values,
//xx values_length : values.map(function (a){ return a.length; })
};

@@ -459,0 +461,0 @@ }

{
"name": "node-opcua-crypto",
"version": "1.7.1",
"version": "1.7.2",
"description": "Crypto tools for Node-OPCUA",

@@ -31,26 +31,26 @@ "main": "./index.js",

"devDependencies": {
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.22",
"@types/mocha": "^8.2.2",
"@types/node": "^16.0.0",
"@types/should": "^13.0.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"lorem-ipsum": "^2.0.3",
"mocha": "^8.2.1",
"prettier": "^2.2.1",
"mocha": "^9.0.2",
"prettier": "^2.3.2",
"should": "^13.2.3",
"source-map": "^0.7.3",
"source-map-support": "^0.5.19",
"ts-node": "^9.1.1",
"ts-node": "^10.0.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3"
"typescript": "^4.3.5"
},
"dependencies": {
"better-assert": "^1.0.2",
"chalk": "^4.1.0",
"chalk": "^4.1.1",
"hexy": "^0.3.1",
"jsrsasign": "^10.1.5",
"jsrsasign": "^10.3.0",
"sshpk": "^1.16.1"

@@ -57,0 +57,0 @@ },

@@ -24,6 +24,11 @@ import * as assert from "assert";

BMPString = 0x1e,
SEQUENCE = 0x30,
SET= 0x31,
A3= 0xA3
}
export interface BlockInfo {
tag: TagType;
tag: TagType | number;
position: number;

@@ -30,0 +35,0 @@ length: number;

@@ -509,3 +509,2 @@ /**

assert(block.tag === 0xa3);
let inner_blocks = _readStruct(buffer, block);

@@ -512,0 +511,0 @@ inner_blocks = _readStruct(buffer, inner_blocks[0]);

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