Skip to content

[Defect]: FFDH pattern treats ephemeral E as required #1147

Description

@Mehrn0ush

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions