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
An RSA-PSS, RSASSA-PKCS1-v1_5, or RSA-OAEP crypto key that's generated or imported is supposed to have an algorithm.publicExponent property that's supposed to be a Uint8Array. ref.
Workerd (and most likely also the workers platform) returns an ArrayBuffer.
Yeah, looks like we get this wrong. Unfortunately it'll need a compat flag to change. We should check all of webcrypto in case there are more of these and update them all at once under the same flag.
An RSA-PSS, RSASSA-PKCS1-v1_5, or RSA-OAEP crypto key that's generated or imported is supposed to have an
algorithm.publicExponent
property that's supposed to be a Uint8Array. ref.Workerd (and most likely also the workers platform) returns an ArrayBuffer.
cc @jasnell
The text was updated successfully, but these errors were encountered: