openwallet-foundation / openwallet-foundation/askar-wrapper-javascript

Allow extracting the derived key from the ECDH class

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4
Forks
9
PR merge metrics
No merged PRs in 30d

Description

There is a private derive key method. To make the encryption logic in Credo more generic I'd like to separately run ECDH and the encryption logic. If I want to do that now I have to rewrite what ECDH class does as it's not possible to extract the derived key.

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 is named; start by locating the ECDH class and its private derive-key method, then inspect the wrapper's existing encryption API. Done means callers can obtain the derived key separately and run ECDH independently from the encryption logic, with existing behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cryptography, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.