w3c / w3c/webcrypto

No tests for `jwk.alg` property in RSA imports and exports

Open
#304 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
294
Forks
78
PR merge metrics
No merged PRs in 30d

Description

There is no WPT test that verifies that the alg property in JWKs in RSA key imports are processed correctly. There are also no tests that the alg is set correctly when exporting an RSA JWK (note: RSA-OAEP differs from the other RSA algorithms here).

Again, if no-one wants to take this, I can tackle it early next year.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test path is named. Start by locating the WPT coverage for RSA JWK imports and exports, then compare the alg handling for imported keys and exported RSA-OAEP keys with the other RSA algorithms. Done means tests verify the required alg behavior in both directions.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
security, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.