w3c / webcrypto

The W3C Web Cryptography API
https://w3c.github.io/webcrypto/
Other
263 stars 53 forks source link

Use `rsaEncryption` OID during exporting for all RSA algorithms #300

Closed lucacasonato closed 2 years ago

lucacasonato commented 2 years ago

Somewhat unrelated; while testing, I noticed that when exporting, all implementations I tested set the OID to rsaEncryption for both algorithms, rather than id-RSASSA-PSS and id-RSAES-OAEP respectively. Even though I think that's not ideal, maybe we should change the spec to match that as well, given such broad consensus.

Originally posted by @twiss in https://github.com/w3c/webcrypto/issues/297#issuecomment-991201132

panva commented 2 years ago

this is also the case for id-ecDH, only ecPublicKey is being used instead.