w3c / w3c/webcrypto

[security] Please strongly discourage pure javascript implementation

Open
#277 4 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

Hi,

With my debian hat on, could be possible to strongly discourage pure javascript implementation.

It is a crypto cover channel pitfall. Javascript due to is modern implementation is a JIT implementation, so sensible to cover channel (particularly time cover channel, how to impement for instance big number multiplication in js without assembly support).

Wasm is the same BTW

rouca@debian.org

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

Start by reading the issue and its four comments, then determine whether the concern belongs in the Web Cryptography API specification or implementation guidance. No file or test is identified; the work is done when the scope, security rationale, and resulting recommendation are agreed and documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wasm
Domain
api, cryptography, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.