Skip to content

dtls13: stop creating malformed certificate_authorities extension#154

Closed
tyhik wants to merge 1 commit into
algesten:mainfrom
tyhik:cert-auth-ext
Closed

dtls13: stop creating malformed certificate_authorities extension#154
tyhik wants to merge 1 commit into
algesten:mainfrom
tyhik:cert-auth-ext

Conversation

@tyhik

@tyhik tyhik commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

DTLS 1.3 Dimpl server handshake with BoringSSL client fails because Dimpl creates malformed certificate_authorities extension.

According to RFC 8446 4.2.4, this extension is optional, but if present, it must not be empty. Here's the RFC's definition of it:

  opaque DistinguishedName<1..2^16-1>;
  struct {
      DistinguishedName authorities<3..2^16-1>;
  } CertificateAuthoritiesExtension;

Note the minimum size 3 of authorities.

@algesten

Copy link
Copy Markdown
Owner

This is a repeat of #153

@algesten algesten closed this Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants