From 5823b227f400d5a5ccab4c699ead42991674cee2 Mon Sep 17 00:00:00 2001 From: UnaPibaGeek Date: Wed, 18 Feb 2026 18:52:17 -0300 Subject: [PATCH] fix: zschemas key_share --- zcrypto_schemas/zcrypto.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zcrypto_schemas/zcrypto.py b/zcrypto_schemas/zcrypto.py index 7d7ff415..b738fd69 100644 --- a/zcrypto_schemas/zcrypto.py +++ b/zcrypto_schemas/zcrypto.py @@ -661,8 +661,7 @@ def getUnknowns(known, range, unknown="unknown"): "raw": Binary(), }), doc="The values in the SignedCertificateTimestampList of the Signed Certificate Timestamp, if present."), "supported_versions": ServerSupportedVersions(doc="The list of supported versions in the Supported Versions extension, if present (see https://tools.ietf.org/html/draft-ietf-tls-tls13-18#section-4.2.1)."), - "key_share": SubRecord({ - CurveID(doc="Negotiated TLS 1.3 key exchange group (NamedGroup/CurveID)."),}), + "key_share": CurveID(doc="Negotiated TLS 1.3 key exchange group (NamedGroup/CurveID)."), "alpn_protocol": String(doc="This contains the selected protocol from the Application-Layer Protocol Negotiation extension, if present (see https://tools.ietf.org/html/rfc7301)."), "extension_identifiers": ListOf(Unsigned16BitInteger(), category="Extension Identifiers", doc="The list of unparsed TLS extension identifiers in handshake."), "unknown_extensions": ListOf(Binary(), doc="A list of any unrecognized extensions in raw form."),