Skip to content

Update zcrypto dependency to support TLS 1.3 #879

@coderabbitai

Description

@coderabbitai

Issue

The current version of github.com/zmap/zcrypto used by tlsx does not support TLS 1.3 analysis, causing compatibility issues for downstream consumers.

Details

  • Current zcrypto version: v0.0.0-20240512203510-0fef58d9a9db
  • Required version (with TLS 1.3 support): v0.0.0-20250218123239-97e834cd7132

Error Messages

/go/pkg/mod/github.com/projectdiscovery/tlsx@v1.2.2/pkg/tlsx/ztls/ja3/ja3.go:63:17: clientHello.NextProtoNeg undefined (type *"github.com/zmap/zcrypto/tls".ClientHello has no field or method NextProtoNeg)
/go/pkg/mod/github.com/projectdiscovery/tlsx@v1.2.2/pkg/tlsx/ztls/ja3/ja3.go:175:17: serverHello.NextProtoNeg undefined (type *"github.com/zmap/zcrypto/tls".ServerHello has no field or method NextProtoNeg)

Impact

Downstream projects that depend on tlsx cannot use TLS 1.3–capable versions of zcrypto due to Go's single-version-per-module constraint. This blocks TLS 1.3 analysis capabilities in dependent projects.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions