mreinstein / alexa-verifier

✓ Verify HTTP requests sent to an Alexa skill are sent from Amazon
MIT License
76 stars 23 forks source link

Enhance Debugging #38

Open acarlstein opened 6 years ago

acarlstein commented 6 years ago

Hi Mike,

What are you thoughts about enhancing alexa-verifier to provide more information when alexa-verifier finds that there is a problem with the certificate?

For example, exposing methods such as isValidSignature and perhaps add extra methods for debugging purposes?

mreinstein commented 6 years ago

I suppose this could be integrated: https://www.npmjs.com/package/debug

alexa-verifier should emit no debug output by default, and need to be explicitly enabled.

mreinstein commented 6 years ago

pull request welcome