Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SubtleCrypto#generateKey should support hash #865

Open
QuiiBz opened this issue May 14, 2023 · 0 comments
Open

SubtleCrypto#generateKey should support hash #865

QuiiBz opened this issue May 14, 2023 · 0 comments

Comments

@QuiiBz
Copy link
Member

QuiiBz commented May 14, 2023

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):

// let sha = get_sha_hash_from_v8_obj(scope, algorithm)?;

We currently default to sha256

@QuiiBz QuiiBz added this to the Beta milestone May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant