Socket
Socket
Sign inDemoInstall

passport-saml

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

passport-saml - npm Package Compare versions

Comparing version 0.11.0 to 0.11.1

test/static/cert.pem

7

lib/passport-saml/saml.js

@@ -710,2 +710,3 @@ var zlib = require('zlib');

var xml = new Buffer(container.SAMLRequest, 'base64').toString('utf8');
var dom = new xmldom.DOMParser().parseFromString(xml);
var parserConfig = {

@@ -722,3 +723,3 @@ explicitRoot: true,

// Check if this document has a valid top-level signature
if (self.options.cert && !self.validateSignature(xml, self.options.cert)) {
if (self.options.cert && !self.validateSignature(xml, dom.documentElement, self.options.cert)) {
return callback(new Error('Invalid signature'));

@@ -757,2 +758,6 @@ }

}
var sessionIndex = request.SessionIndex;
if (sessionIndex) {
profile.sessionIndex = sessionIndex[0];
}

@@ -759,0 +764,0 @@ callback(null, profile, true);

2

package.json
{
"name": "passport-saml",
"version": "0.11.0",
"version": "0.11.1",
"licenses": [

@@ -5,0 +5,0 @@ {

Sorry, the diff of this file is too big to display

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