Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/go_modules/golang.org/x/crypto-…
Browse files Browse the repository at this point in the history
…0.32.0
  • Loading branch information
zakird authored Jan 22, 2025
2 parents 207fab9 + 2af4115 commit def000a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions zcrypto_schemas/zcrypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def getUnknowns(known, range, unknown="unknown"):
"heartbeat": Boolean(doc="This is true if the client has the Heartbeat Supported extension (see https://tools.ietf.org/html/rfc6520)."),
"extended_random": Binary(doc="The value of the Extended Random extension, if present (see https://tools.ietf.org/html/draft-rescorla-tls-extended-random-02)."),
"extended_master_secret": Boolean(doc="This is true if the client has the Extended Master Secret extension (see https://tools.ietf.org/html/rfc7627)."),
"next_protocol_negotiation": Boolean(doc="This is true if the client has the Next Protocol Negotiation extension (see https://tools.ietf.org/id/draft-agl-tls-nextprotoneg-03.html)."),
"next_protocol_negotiation": Boolean(doc="This is true if the client has the Next Protocol Negotiation extension (see https://datatracker.ietf.org/doc/html/draft-agl-tls-nextprotoneg-04)."),
"server_name": String(doc="This contains the server name from the Server Name Identification (SNI) extension, if present (see https://tools.ietf.org/html/rfc6066#section-3)."),
"scts": Boolean(doc="This is true if the client has the Signed Certificate Timestamp extension, if present (see https://tools.ietf.org/html/rfc6962#section-3.3.1)"),
"supported_curves": ListOf(CurveID(), doc="The list of supported curves in the Supported Elliptic Curves extension, if present (see https://tools.ietf.org/html/rfc4492#section-5.1.1)"),
Expand All @@ -624,18 +624,20 @@ def getUnknowns(known, range, unknown="unknown"):
"random": Binary(doc="This structure is generated by the server and MUST be independently generated from the ClientHello.random."),
"session_id": Binary(doc="This is the identity of the session corresponding to this connection."),
"cipher_suite": CipherSuite(doc="The single cipher suite selected by the server from the list in ClientHello.cipher_suites."),
# TODO FIXME: This is a uint8 in the go code, but it should probably be a CompressionMethod...?
"compression_method": Unsigned8BitInteger(doc="The single compression algorithm selected by the server from the list in ClientHello.compression_methods."),
"compression_method": CompressionMethod(doc="The single compression algorithm selected by the server from the list in ClientHello.compression_methods."),
"ocsp_stapling": Boolean(doc="This is true if the OCSP Stapling extension is set (see https://www.ietf.org/rfc/rfc6961.txt for details)."),
"ticket": Boolean(doc="This is true if the server has the Session Ticket extension (see https://tools.ietf.org/html/rfc5077)."),
"secure_renegotiation": Boolean(doc="This is true if the client has the Secure Renegotiation extension (see https://tools.ietf.org/html/rfc5746)."),
"heartbeat": Boolean(doc="This is true if the client has the Heartbeat Supported extension (see https://tools.ietf.org/html/rfc6520)."),
"extended_random": Binary(doc="The value of the Extended Random extension, if present (see https://tools.ietf.org/html/draft-rescorla-tls-extended-random-02)."),
"next_protocol_negotiation": Boolean(doc="This is true if the server has the Next Protocol Negotiation extension (see https://datatracker.ietf.org/doc/html/draft-agl-tls-nextprotoneg-04)."),
"extended_master_secret": Boolean(doc="This is true if the server has the Extended Master Secret extension (see https://tools.ietf.org/html/rfc7627)."),
"scts": ListOf(SubRecord({
"parsed": SCTRecord(),
"raw": Binary(),
}), doc="The values in the SignedCertificateTimestampList of the Signed Certificate Timestamp, if present."),
"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)."),
"unknown_extensions": ListOf(Binary(), doc="A list of any unrecognized extensions in raw form."),
}, doc="The Server Hello message (see https://tools.ietf.org/html/rfc5246#section-7.4.1.3).")

# tls/tls_handshake.go: ServerKeyExchange
Expand Down

0 comments on commit def000a

Please sign in to comment.