mscdex / mscdex/ssh2

Feature request: Support crypto.subtle.generateKey

Open
#1,210 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
JavaScript
Stars
5.8k
Forks
734
PR merge metrics
No merged PRs in 30d

Description

The node.js crypto (aka webcrypto) subtle generateKey method wraps keys in a standard API now.

One can just do if(key instanceof CryptoKey) and get the appropriate algorithm, settings and run an exportKey (or importKey) as desired for easier key generation.

Contributor guide

No contributing guide indexed for this repository

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 source file or test is named. Start by locating the project's current crypto and key-generation entry points, then compare their API boundaries with node.js crypto.subtle.generateKey and define the supported key cases. Done means the requested method is supported through the standard CryptoKey API and is covered by tests for the stated usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cryptography, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.