Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Defect]: FFDH pattern treats ephemeral E as required

Open Beginner friendly
#1,147 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@Mehrn0ush is already working on this.

Since Oct 9, 2026.

  • #1148 by @Mehrn0ush — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
json
Domain
cryptography

Research direction

The fix is the pattern value for FFDH in schema/cryptography-defs.json. Compare it with the ECDH entry, which already uses ECDH[E][-{ellipticCurve}], and check the naming-pattern grammar it refers to. Change the FFDH pattern to FFDH[E][-{namedGroup}]. Done when FFDH, FFDHE and FFDHE-ffdhe2048 all validate against the pattern.

Written by the indexing model from the issue text.

Description

Describe the defect

schema/cryptography-defs.json currently has:

"pattern": "FFDH(E)[-{namedGroup}]"

Under the naming-pattern grammar (parentheses group; they are not optional), E is required, so constructed names can only be FFDHE / FFDHE-{namedGroup}. FFDH without E does not match.

ECDH already uses optional E: ECDH[E][-{ellipticCurve}]. FFDH should match that: E is ephemeral and optional

Expected

"pattern": "FFDH[E][-{namedGroup}]"

so FFDH, FFDHE, and FFDHE-ffdhe2048 are all valid.

Dominant language
XSLT
Stars
558
Forks
93
Avg merge
19h 7m
Merged PRs (30d)
17

Getting set up

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.

More from CycloneDX/specification

All issues in CycloneDX/specification

Similar issues

More Cryptography issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.