You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meaning that this lib is not a straight replacement for those libs right now, which is a shame! Unless the underlying code accepts it and the TS defs are simply incorrect.
Reproducible Code
N/A
Relevant log output
N/A
Device
N/A
QuickCrypto Version
0.7.9
Can you reproduce this issue in the QuickCrypto Example app?
Yes, I can reproduce the same issue in the Example app here
What's happening?
https://developer.mozilla.org/en-US/docs/Web/API/EcdsaParams states that
hash
can only be a string. But it can also be an object like this:You can see this in W3C and Typescript defs:
W3C docs: https://www.w3.org/TR/WebCryptoAPI/#EcdsaParams-dictionary
The issue is that code in the wild uses that structure:
Meaning that this lib is not a straight replacement for those libs right now, which is a shame! Unless the underlying code accepts it and the TS defs are simply incorrect.
Reproducible Code
Relevant log output
Device
N/A
QuickCrypto Version
0.7.9
Can you reproduce this issue in the QuickCrypto Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
The text was updated successfully, but these errors were encountered: