patrickpissurno / fastify-esso

The easiest authentication plugin for Fastify, with built-in support for single sign-on (SSO)
https://npm.im/fastify-esso
MIT License
52 stars 6 forks source link

Fix an issue with the fastify/node server crash #6

Closed eusunov closed 3 years ago

eusunov commented 3 years ago

An invalid hexadecimal string in a data parameter in a decrypt method crashes the server process.

patrickpissurno commented 3 years ago

Thank you for taking the time to find this issue and submit this PR.

Very much appreciated!

patrickpissurno commented 3 years ago

Merged and now available on NPM on versions 1.2.1 and up.