diff --git a/package.json b/package.json index bef68d382abcbf281dbe5e759ee65eb7fe78807c..3c27030fc532c06609ca421e3c1b1267b6dbd8e8 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ , "colors" : "0.5.0" , "sax" : "0.2.3" , "mimelib-noiconv" : "0.1.3" - , "jwcrypto": "https://github.com/mozilla/jwcrypto/tarball/adbdf9e2070" + , "jwcrypto": "https://github.com/mozilla/jwcrypto/tarball/8d0db7a0" , "postprocess": "0.0.3" , "urlparse": "0.0.1" , "uglifycss": "0.0.4" diff --git a/tests/verifier-test.js b/tests/verifier-test.js index b95eb646f6cfe3437e87d7d45ea9162e7048add6..40563a91472dc5b93f9871b8ef085fd268c5bead 100755 --- a/tests/verifier-test.js +++ b/tests/verifier-test.js @@ -617,7 +617,8 @@ suite.addBatch({ "fails with a nice error": function(r, err) { var resp = JSON.parse(r.body); assert.strictEqual(resp.status, 'failure'); - assert.strictEqual(resp.reason, 'assertion expiration date has passed'); + // XXX: the verifier should return a clearer error message + assert.strictEqual(resp.reason, 'verification failure'); } } });