slnodejs 6.1.835 → 6.1.853

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29456,6 +29456,9 @@ EDDSA.prototype.sign = function sign(message, secret) {
29456
29456
  EDDSA.prototype.verify = function verify(message, sig, pub) {
29457
29457
  message = parseBytes(message);
29458
29458
  sig = this.makeSignature(sig);
29459
+ if (sig.S().gte(sig.eddsa.curve.n) || sig.S().isNeg()) {
29460
+ return false;
29461
+ }
29459
29462
  var key = this.keyFromPublic(pub);
29460
29463
  var h = this.hashInt(sig.Rencoded(), key.pubBytes(), message);
29461
29464
  var SG = this.g.mul(sig.S());
@@ -30596,9 +30599,9 @@ arguments[4][171][0].apply(exports,arguments)
30596
30599
  },{"buffer":176,"dup":171}],254:[function(require,module,exports){
30597
30600
  module.exports={
30598
30601
  "_from": "elliptic@^6.5.5",
30599
- "_id": "elliptic@6.5.5",
30602
+ "_id": "elliptic@6.5.6",
30600
30603
  "_inBundle": false,
30601
- "_integrity": "sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==",
30604
+ "_integrity": "sha512-mpzdtpeCLuS3BmE3pO3Cpp5bbjlOPY2Q0PgoF+Od1XZrHLYI28Xe3ossCmYCQt11FQKEYd9+PF8jymTvtWJSHQ==",
30602
30605
  "_location": "/elliptic",
30603
30606
  "_phantomChildren": {},
30604
30607
  "_requested": {
@@ -30615,10 +30618,10 @@ module.exports={
30615
30618
  "/browserify-sign",
30616
30619
  "/create-ecdh"
30617
30620
  ],
30618
- "_resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz",
30619
- "_shasum": "c715e09f78b6923977610d4c2346d6ce22e6dded",
30621
+ "_resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.6.tgz",
30622
+ "_shasum": "ee5f7c3a00b98a2144ac84d67d01f04d438fa53e",
30620
30623
  "_spec": "elliptic@^6.5.5",
30621
- "_where": "/var/lib/jenkins/workspace/.OnPremise.Agent.JavaScript_main@2/browser-agent/node_modules/browserify-sign",
30624
+ "_where": "/var/lib/jenkins/workspace/.OnPremise.Agent.JavaScript_main/browser-agent/node_modules/browserify-sign",
30622
30625
  "author": {
30623
30626
  "name": "Fedor Indutny",
30624
30627
  "email": "fedor@indutny.com"
@@ -30677,7 +30680,7 @@ module.exports={
30677
30680
  "unit": "istanbul test _mocha --reporter=spec test/index.js",
30678
30681
  "version": "grunt dist && git add dist/"
30679
30682
  },
30680
- "version": "6.5.5"
30683
+ "version": "6.5.6"
30681
30684
  }
30682
30685
 
30683
30686
  },{}],255:[function(require,module,exports){
@@ -57138,7 +57141,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
57138
57141
  "use strict";
57139
57142
  Object.defineProperty(exports, "__esModule", { value: true });
57140
57143
  exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
57141
- exports.SL_AGENT_VERSION = '6.1.835';
57144
+ exports.SL_AGENT_VERSION = '6.1.853';
57142
57145
  exports.SL_AGENT_TYPE = 'browser';
57143
57146
  });
57144
57147