alexa-verifier
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "alexa-verifier", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Verify HTTP requests sent to an Alexa skill are sent from Amazon", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"node-forge": "^0.7.0", | ||
"node-forge": "^0.10.0", | ||
"validator": "^9.0.0" | ||
@@ -26,0 +26,0 @@ }, |
@@ -9,3 +9,3 @@ 'use strict' | ||
var cert_url = 'https://s3.amazonaws.com/echo.api/echo-api-cert-5.pem' // latest valid cert | ||
var cert_url = 'https://s3.amazonaws.com/echo.api/echo-api-cert-8.pem' // latest valid cert | ||
@@ -12,0 +12,0 @@ test('handle missing cert_url parameter', function (t) { |
@@ -106,5 +106,5 @@ 'use strict' | ||
test('approves valid certifcate', function (t) { | ||
var pem = fs.readFileSync(__dirname + '/cert-latest.pem') | ||
var pem = fs.readFileSync(__dirname + '/echo-api-cert-8.pem') | ||
t.assert(validate(pem) === undefined, 'Certificate should be valid') | ||
t.end() | ||
}) |
37892
+ Addednode-forge@0.10.0(transitive)
- Removednode-forge@0.7.6(transitive)
Updatednode-forge@^0.10.0