fermyon / spin-js-sdk

https://developer.fermyon.com/spin/javascript-components
Apache License 2.0
52 stars 18 forks source link

Implement `crypto.timingSafeEqual` and `crypto.subtle.verify` #118

Closed radu-matei closed 1 year ago

radu-matei commented 1 year ago

This would improve the security when verifying digests and signatures, and it should use a constant-time algorithm.

See https://nodejs.org/api/crypto.html#cryptotimingsafeequala-b