Skip to content
Browse files

Merge pull request #45 from ozten/check-assertion-key-fix

Fixing public key property
  • Loading branch information...
2 parents 902e635 + 2692f49 commit d886a4cf6150bded234f8aef1cf66e36eee9364e Brian Warner committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/check-assertion
View
2 bin/check-assertion
@@ -162,7 +162,7 @@ extractAssertion(full_assertion, function (err, raw_assertion, full_assertion) {
pk = jwcrypto.loadPublicKey(JSON.stringify(components.payload['public-key']));
} else {
console.log("cert is properly signed");
- pk = certParams['public-key'];
+ pk = certParams['publicKey'];
}
if (typeof components.payload.iat !== 'number')
console.log("FATAL: cert lacks an 'issued at' (.iat) field");

0 comments on commit d886a4c

Please sign in to comment.
Something went wrong with that request. Please try again.