lagon
lagon copied to clipboard
`SubtleCrypto#generateKey` should support hash
The current implementation of SubtleCrypto#generateKey
for RSASSA-PKCS1-v1_5, RSA-PSS & RSA-OAEP doesn't use the hash
field as defined in RsaHashedKeyGenParams (W3C):
https://github.com/lagonapp/lagon/blob/22f5cc1eea6d65963060d289945dc956312a50b3/crates/runtime_crypto/src/lib.rs#L344
We currently default to sha256