Skip to content

ParseWithJa3 doesn't include SupportedCurves/Points in ClientHelloSpec #535

Closed

Description

@Mzack9999

When using ParseWithJa3, the curves and points parsed from JA3 fields 4 and 5 are added to extMap but extMap is never used. The returned ClientHelloSpec uses the extensions slice from parseExtensions() instead. Extensions 10 and 11 are excluded from defaultExtensionMap (commented out), so they never make it into the spec.

This means any custom JA3 with ECDHE cipher suites fails at handshake because the server sees no supported curves.

Quick repro: dial with impersonate.Custom using a JA3 like 771,49195-49196,0-23-65281-35-16-5-13,23-24,0. Server gets the right ciphers but rejects with no cipher suite supported by both client and server.

Fix would be to resolve extensions through extMap (which has 10/11 populated) rather than the raw parseExtensions output.

Activity

  1. self-assigned this
    on Mar 21, 2026
  2. added theissue type on Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions