PeculiarVentures / webcrypto-liner

webcrypto-liner is a polyfill that let's down-level User Agents (like IE/Edge) use libraries that depend on WebCrypto. (Keywords: Javascript, WebCrypto, Shim, Polyfill)
MIT License
149 stars 26 forks source link

ECDSA sign/verify tests fail for SHA-512 #31

Closed abgoldberg closed 7 years ago

abgoldberg commented 7 years ago

When using the pv-webcrypto-tests demo page, I am seeing all the ECDSA sign/verify tests failing that use SHA-512. It appears that elliptic.js supports it, so I'm wondering if something else is going on. This is in IE11. See attached.

screen shot 2017-04-01 at 8 47 39 am
abgoldberg commented 7 years ago

Nevermind. The version of asmcrypto being used wasn't built with SHA-512 support. That's not included by default.