LinusU / LinusU/secure-remote-password

Custom Parameter Large Safe Prime

Open
#28 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
110
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to make the largeSafePrime param [here](https://github.com/LinusU/secure-remote-password/blob/master/lib/params.js) updatable in cases where people want to use their own custom key generated by something like OpenSSL. I'd imagine the quickest fix would be making that `const` a `let` and making the `input` be exportable but thought I would bring this up.

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

Start in lib/params.js, where largeSafePrime and input are identified in the issue. Trace how these values are consumed and exposed, then define the smallest caller-facing change that permits a custom OpenSSL-generated key. Done means users can provide that custom value without breaking the existing default behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.