...
▽

Text file src/crypto/tls/bogo_config.json

Documentation: crypto/tls

     1{
     2    "DisabledTests": {
     3        "*-Async": "We don't support boringssl concept of async",
     4
     5        "TLS-ECH-Client-Reject-NoClientCertificate-TLS12": "We won't attempt to negotiate 1.2 if ECH is enabled",
     6        "TLS-ECH-Client-Reject-TLS12": "We won't attempt to negotiate 1.2 if ECH is enabled",
     7        "TLS-ECH-Client-TLS12-RejectRetryConfigs": "We won't attempt to negotiate 1.2 if ECH is enabled",
     8        "TLS-ECH-Client-Rejected-OverrideName-TLS12": "We won't attempt to negotiate 1.2 if ECH is enabled",
     9        "TLS-ECH-Client-Reject-TLS12-NoFalseStart": "We won't attempt to negotiate 1.2 if ECH is enabled",
    10        "TLS-ECH-Client-TLS12SessionTicket": "We won't attempt to negotiate 1.2 if ECH is enabled",
    11        "TLS-ECH-Client-TLS12SessionID": "We won't attempt to negotiate 1.2 if ECH is enabled, and we don't support session ID resumption",
    12
    13        "TLS-ECH-Client-Reject-ResumeInnerSession-TLS12": "We won't attempt to negotiate 1.2 if ECH is enabled (we could possibly test this if we had the ability to indicate not to send ECH on resumption?)",
    14
    15        "TLS-ECH-Client-Reject-EarlyDataRejected": "Go does not support early (0-RTT) data",
    16
    17        "TLS-ECH-Client-NoNPN": "We don't support NPN",
    18
    19        "TLS-ECH-Client-ChannelID": "We don't support sending channel ID",
    20        "TLS-ECH-Client-Reject-NoChannelID-TLS13": "We don't support sending channel ID",
    21        "TLS-ECH-Client-Reject-NoChannelID-TLS12": "We don't support sending channel ID",
    22
    23        "TLS-ECH-Client-GREASE-IgnoreHRRExtension": "We don't support ECH GREASE because we don't fallback to plaintext",
    24        "TLS-ECH-Client-NoSupportedConfigs-GREASE": "We don't support ECH GREASE because we don't fallback to plaintext",
    25        "TLS-ECH-Client-GREASEExtensions": "We don't support ECH GREASE because we don't fallback to plaintext",
    26        "TLS-ECH-Client-GREASE-NoOverrideName": "We don't support ECH GREASE because we don't fallback to plaintext",
    27
    28        "TLS-ECH-Client-UnsolicitedInnerServerNameAck": "We don't allow sending empty SNI without skipping certificate verification, TODO: could add special flag to bogo to indicate 'empty sni'",
    29
    30        "TLS-ECH-Client-NoSupportedConfigs": "We don't support fallback to cleartext when there are no valid ECH configs",
    31        "TLS-ECH-Client-SkipInvalidPublicName": "We don't support fallback to cleartext when there are no valid ECH configs",
    32
    33        "TLS-ECH-Server-EarlyData": "Go does not support early (0-RTT) data",
    34        "TLS-ECH-Server-EarlyDataRejected": "Go does not support early (0-RTT) data",
    35
    36        "MLKEMKeyShareIncludedSecond": "BoGo wants us to order the key shares based on its preference, but we don't support that",
    37        "MLKEMKeyShareIncludedSecond-*": "BoGo wants us to order the key shares based on its preference, but we don't support that",
    38        "MLKEMKeyShareIncludedThird": "BoGo wants us to order the key shares based on its preference, but we don't support that",
    39        "MLKEMKeyShareIncludedThird-*": "BoGo wants us to order the key shares based on its preference, but we don't support that",
    40        "TwoMLKEMs": "BoGo wants us to order the key shares based on its preference, but we don't support that",
    41        "NotJustMLKEMKeyShare-MLKEM1024": "BoringSSL sends an ECC key share for fallback when the main key share is MLKEM1024, we currently don't",
    42
    43        "PostQuantumNotEnabledByDefaultInClients": "We do enable it by default!",
    44        "*-Kyber-TLS13": "We don't support Kyber, only ML-KEM (BoGo bug ignoring AllCurves?)",
    45
    46        "*-RSA_PKCS1_SHA256_LEGACY-TLS13": "We don't support the legacy PKCS#1 v1.5 codepoint for TLS 1.3",
    47        "*-Verify-RSA_PKCS1_SHA256_LEGACY-TLS12": "Likewise, we don't know how to handle it in TLS 1.2, so we send the wrong alert",
    48        "*-VerifyDefault-*": "Our signature algorithms are not configurable, so there is no difference between default and supported",
    49        "Ed25519DefaultDisable-*": "We support Ed25519 by default",
    50        "NoCommonSignatureAlgorithms-TLS12-Fallback": "We don't support the legacy RSA exchange",
    51
    52        "*_SHA1-TLS12": "We don't support SHA-1 in TLS 1.2 (without tlssha1=1)",
    53        "Agree-Digest-SHA1": "We don't support SHA-1 in TLS 1.2 (without tlssha1=1)",
    54        "ServerAuth-SHA1-Fallback*": "We don't support SHA-1 in TLS 1.2 (without tlssha1=1), so we fail if there are no signature_algorithms",
    55
    56        "Agree-Digest-SHA256": "We select signature algorithms in peer preference order. We should consider changing this.",
    57
    58        "V2ClientHello-*": "We don't support SSLv2",
    59        "SendV2ClientHello*": "We don't support SSLv2",
    60        "*QUIC*": "No QUIC support",
    61        "Compliance-fips*": "No FIPS",
    62        "*DTLS*": "No DTLS",
    63        "SendEmptyRecords*": "crypto/tls doesn't implement spam protections",
    64        "SendWarningAlerts*": "crypto/tls doesn't implement spam protections",
    65        "SendUserCanceledAlerts-TooMany-TLS13": "crypto/tls doesn't implement spam protections",
    66        "KyberNotEnabledByDefaultInClients": "crypto/tls intentionally enables it",
    67        "JustConfiguringKyberWorks": "we always send a X25519 key share with Kyber",
    68        "KyberKeyShareIncludedSecond": "we always send the Kyber key share first",
    69        "KyberKeyShareIncludedThird": "we always send the Kyber key share first",
    70        "GREASE-Server-TLS13": "We don't send GREASE extensions",
    71        "SendBogusAlertType": "sending wrong alert type",
    72        "*Client-P-224*": "no P-224 support",
    73        "*Server-P-224*": "no P-224 support",
    74        "CurveID-Resume*": "unexposed curveID is not stored in the ticket yet",
    75        "BadRSAClientKeyExchange-4": "crypto/tls doesn't check the version number in the premaster secret - see processClientKeyExchange comment",
    76        "BadRSAClientKeyExchange-5": "crypto/tls doesn't check the version number in the premaster secret - see processClientKeyExchange comment",
    77        "SupportTicketsWithSessionID": "We don't support session ID resumption",
    78        "ResumeTLS12SessionID-TLS13": "We don't support session ID resumption",
    79        "TrustAnchors-*": "We don't support draft-beck-tls-trust-anchor-ids",
    80        "PAKE-Extension-*": "We don't support PAKE",
    81        "*TicketFlags": "We don't support draft-ietf-tls-tlsflags",
    82
    83        "MLKEMKeyShareIncludedThird-X25519MLKEM768": "We don't return key shares in client preference order",
    84
    85        "ECDSAKeyUsage-*": "We don't enforce ECDSA KU",
    86
    87        "RSAKeyUsage-*": "We don't enforce RSA KU",
    88
    89        "CheckLeafCurve": "TODO: first pass, this should be fixed",
    90        "KeyUpdate-RequestACK": "TODO: first pass, this should be fixed",
    91        "SupportedVersionSelection-TLS12": "TODO: first pass, this should be fixed",
    92        "UnsolicitedServerNameAck-TLS-TLS1": "TODO: first pass, this should be fixed",
    93        "TicketSessionIDLength-33-TLS-TLS1": "TODO: first pass, this should be fixed",
    94        "UnsolicitedServerNameAck-TLS-TLS11": "TODO: first pass, this should be fixed",
    95        "TicketSessionIDLength-33-TLS-TLS11": "TODO: first pass, this should be fixed",
    96        "UnsolicitedServerNameAck-TLS-TLS12": "TODO: first pass, this should be fixed",
    97        "TicketSessionIDLength-33-TLS-TLS12": "TODO: first pass, this should be fixed",
    98        "UnsolicitedServerNameAck-TLS-TLS13": "TODO: first pass, this should be fixed",
    99        "RenegotiationInfo-Forbidden-TLS13": "TODO: first pass, this should be fixed",
   100        "EMS-Forbidden-TLS13": "TODO: first pass, this should be fixed",
   101        "SendUnsolicitedOCSPOnCertificate-TLS13": "TODO: first pass, this should be fixed",
   102        "SendUnsolicitedSCTOnCertificate-TLS13": "TODO: first pass, this should be fixed",
   103        "SendUnknownExtensionOnCertificate-TLS13": "TODO: first pass, this should be fixed",
   104        "Resume-Server-NoTickets-TLS1-TLS1-TLS": "TODO: first pass, this should be fixed",
   105        "Resume-Server-NoTickets-TLS11-TLS11-TLS": "TODO: first pass, this should be fixed",
   106        "Resume-Server-NoTickets-TLS12-TLS12-TLS": "TODO: first pass, this should be fixed",
   107        "Resume-Server-NoPSKBinder": "TODO: first pass, this should be fixed",
   108        "Resume-Server-PSKBinderFirstExtension": "TODO: first pass, this should be fixed",
   109        "Resume-Server-PSKBinderFirstExtension-SecondBinder": "TODO: first pass, this should be fixed",
   110        "Resume-Server-NoPSKBinder-SecondBinder": "TODO: first pass, this should be fixed",
   111        "Resume-Server-OmitPSKsOnSecondClientHello": "TODO: first pass, this should be fixed",
   112        "Renegotiate-Server-Forbidden": "TODO: first pass, this should be fixed",
   113        "Renegotiate-Client-Forbidden-1": "TODO: first pass, this should be fixed",
   114        "UnknownExtension-Client": "TODO: first pass, this should be fixed",
   115        "UnknownUnencryptedExtension-Client-TLS13": "TODO: first pass, this should be fixed",
   116        "UnofferedExtension-Client-TLS13": "TODO: first pass, this should be fixed",
   117        "UnknownExtension-Client-TLS13": "TODO: first pass, this should be fixed",
   118        "SendClientVersion-RSA": "TODO: first pass, this should be fixed",
   119        "NoCommonCurves": "TODO: first pass, this should be fixed",
   120        "PointFormat-EncryptedExtensions-TLS13": "TODO: first pass, this should be fixed",
   121        "TLS13-SendNoKEMModesWithPSK-Server": "TODO: first pass, this should be fixed",
   122        "TLS13-DuplicateTicketEarlyDataSupport": "TODO: first pass, this should be fixed",
   123        "Basic-Client-NoTicket-TLS-Sync": "TODO: first pass, this should be fixed",
   124        "Basic-Server-RSA-TLS-Sync": "TODO: first pass, this should be fixed",
   125        "Basic-Client-NoTicket-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
   126        "Basic-Server-RSA-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
   127        "Basic-Client-NoTicket-TLS-Sync-PackHandshake": "TODO: first pass, this should be fixed",
   128        "Basic-Server-RSA-TLS-Sync-PackHandshake": "TODO: first pass, this should be fixed",
   129        "PartialSecondClientHelloAfterFirst": "TODO: first pass, this should be fixed",
   130        "PartialServerHelloWithHelloRetryRequest": "TODO: first pass, this should be fixed",
   131        "TrailingDataWithFinished-Server-TLS1": "TODO: first pass, this should be fixed",
   132        "PartialClientKeyExchangeWithClientHello": "TODO: first pass, this should be fixed",
   133        "TrailingDataWithFinished-Resume-Server-TLS1": "TODO: first pass, this should be fixed",
   134        "TrailingDataWithFinished-Resume-Client-TLS11": "TODO: first pass, this should be fixed",
   135        "TrailingDataWithFinished-Client-TLS1": "TODO: first pass, this should be fixed",
   136        "TrailingDataWithFinished-Client-TLS11": "TODO: first pass, this should be fixed",
   137        "TrailingDataWithFinished-Client-TLS12": "TODO: first pass, this should be fixed",
   138        "TrailingDataWithFinished-Client-TLS13": "TODO: first pass, this should be fixed",
   139        "PartialNewSessionTicketWithServerHelloDone": "TODO: first pass, this should be fixed",
   140        "TrailingDataWithFinished-Server-TLS11": "TODO: first pass, this should be fixed",
   141        "TrailingDataWithFinished-Server-TLS12": "TODO: first pass, this should be fixed",
   142        "TrailingDataWithFinished-Resume-Server-TLS11": "TODO: first pass, this should be fixed",
   143        "TrailingDataWithFinished-Resume-Client-TLS12": "TODO: first pass, this should be fixed",
   144        "TrailingDataWithFinished-Resume-Server-TLS12": "TODO: first pass, this should be fixed",
   145        "TrailingDataWithFinished-Resume-Client-TLS13": "TODO: first pass, this should be fixed",
   146        "TrailingDataWithFinished-Resume-Client-TLS1": "TODO: first pass, this should be fixed",
   147        "TrailingMessageData-ClientHello-TLS": "TODO: first pass, this should be fixed",
   148        "TrailingMessageData-ServerHello-TLS": "TODO: first pass, this should be fixed",
   149        "TrailingMessageData-ServerCertificate-TLS": "TODO: first pass, this should be fixed",
   150        "TrailingMessageData-ServerHelloDone-TLS": "TODO: first pass, this should be fixed",
   151        "TrailingMessageData-ServerKeyExchange-TLS": "TODO: first pass, this should be fixed",
   152        "TrailingMessageData-CertificateRequest-TLS": "TODO: first pass, this should be fixed",
   153        "TrailingMessageData-CertificateVerify-TLS": "TODO: first pass, this should be fixed",
   154        "TrailingMessageData-ServerFinished-TLS": "TODO: first pass, this should be fixed",
   155        "TrailingMessageData-ClientKeyExchange-TLS": "TODO: first pass, this should be fixed",
   156        "TrailingMessageData-TLS13-ClientHello-TLS": "TODO: first pass, this should be fixed",
   157        "TrailingMessageData-ClientFinished-TLS": "TODO: first pass, this should be fixed",
   158        "TrailingMessageData-NewSessionTicket-TLS": "TODO: first pass, this should be fixed",
   159        "TrailingMessageData-ClientCertificate-TLS": "TODO: first pass, this should be fixed",
   160        "TrailingMessageData-TLS13-CertificateRequest-TLS": "TODO: first pass, this should be fixed",
   161        "TrailingMessageData-TLS13-ServerCertificateVerify-TLS": "TODO: first pass, this should be fixed",
   162        "TrailingMessageData-TLS13-EncryptedExtensions-TLS": "TODO: first pass, this should be fixed",
   163        "TrailingMessageData-TLS13-ClientCertificate-TLS": "TODO: first pass, this should be fixed",
   164        "TrailingMessageData-TLS13-ClientCertificateVerify-TLS": "TODO: first pass, this should be fixed",
   165        "TrailingMessageData-TLS13-ServerCertificate-TLS": "TODO: first pass, this should be fixed",
   166        "SkipEarlyData-TLS13": "TODO: first pass, this should be fixed",
   167        "DuplicateKeyShares-TLS13": "TODO: first pass, this should be fixed",
   168        "Server-TooLongSessionID-TLS13": "TODO: first pass, this should be fixed",
   169        "Client-TooLongSessionID": "TODO: first pass, this should be fixed",
   170        "Client-ShortSessionID": "TODO: first pass, this should be fixed",
   171        "TLS12NoSessionID-TLS13": "TODO: first pass, this should be fixed",
   172        "Server-TooLongSessionID-TLS12": "TODO: first pass, this should be fixed",
   173        "EmptyEncryptedExtensions-TLS13": "TODO: first pass, this should be fixed",
   174        "SkipEarlyData-SecondClientHelloEarlyData-TLS13": "TODO: first pass, this should be fixed",
   175        "EncryptedExtensionsWithKeyShare-TLS13": "TODO: first pass, this should be fixed",
   176        "HelloRetryRequest-DuplicateCurve-TLS13": "TODO: first pass, this should be fixed",
   177        "HelloRetryRequest-DuplicateCookie-TLS13": "TODO: first pass, this should be fixed",
   178        "HelloRetryRequest-Unknown-TLS13": "TODO: first pass, this should be fixed",
   179        "SendPostHandshakeChangeCipherSpec-TLS13": "TODO: first pass, this should be fixed",
   180        "EmptyExtensions-ClientHello-TLS1": "TODO: first pass, this should be fixed",
   181        "OmitExtensions-ClientHello-TLS1": "TODO: first pass, this should be fixed",
   182        "EmptyExtensions-ClientHello-TLS12": "TODO: first pass, this should be fixed",
   183        "OmitExtensions-ClientHello-TLS12": "TODO: first pass, this should be fixed",
   184        "EmptyExtensions-ClientHello-TLS11": "TODO: first pass, this should be fixed",
   185        "OmitExtensions-ClientHello-TLS11": "TODO: first pass, this should be fixed",
   186        "DuplicateCertCompressionExt-TLS12": "TODO: first pass, this should be fixed",
   187        "DuplicateCertCompressionExt-TLS13": "TODO: first pass, this should be fixed",
   188        "Client-RejectJDK11DowngradeRandom": "TODO: first pass, this should be fixed",
   189        "CheckClientCertificateTypes": "TODO: first pass, this should be fixed",
   190        "CheckECDSACurve-TLS12": "TODO: first pass, this should be fixed",
   191        "ALPNClient-RejectUnknown-TLS-TLS1": "TODO: first pass, this should be fixed",
   192        "ALPNClient-RejectUnknown-TLS-TLS11": "TODO: first pass, this should be fixed",
   193        "ALPNClient-RejectUnknown-TLS-TLS12": "TODO: first pass, this should be fixed",
   194        "ALPNClient-RejectUnknown-TLS-TLS13": "TODO: first pass, this should be fixed",
   195        "ClientHelloPadding": "TODO: first pass, this should be fixed",
   196        "TLS13-ExpectTicketEarlyDataSupport": "TODO: first pass, this should be fixed",
   197        "TLS13-EarlyData-TooMuchData-Client-TLS-Sync": "TODO: first pass, this should be fixed",
   198        "TLS13-EarlyData-TooMuchData-Client-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
   199        "TLS13-EarlyData-TooMuchData-Client-TLS-Sync-PackHandshake": "TODO: first pass, this should be fixed",
   200        "WrongMessageType-TLS13-EndOfEarlyData-TLS": "TODO: first pass, this should be fixed",
   201        "TrailingMessageData-TLS13-EndOfEarlyData-TLS": "TODO: first pass, this should be fixed",
   202        "SendHelloRetryRequest-2-TLS13": "TODO: first pass, this should be fixed",
   203        "EarlyData-SkipEndOfEarlyData-TLS13": "TODO: first pass, this should be fixed",
   204        "EarlyData-Server-BadFinished-TLS13": "TODO: first pass, this should be fixed",
   205        "EarlyData-UnexpectedHandshake-Server-TLS13": "TODO: first pass, this should be fixed",
   206        "EarlyData-CipherMismatch-Client-TLS13": "TODO: first pass, this should be fixed",
   207
   208        "Resume-Server-UnofferedCipher-TLS13": "TODO: first pass, this should be fixed",
   209        "GarbageCertificate-Server-TLS13": "TODO: 2025/06 BoGo update, should be fixed",
   210        "WrongMessageType-TLS13-ClientCertificate-TLS": "TODO: 2025/06  BoGo update, should be fixed",
   211        "KeyUpdate-Requested": "TODO: 2025/06  BoGo update, should be fixed",
   212        "AppDataBeforeTLS13KeyChange-*": "TODO: 2025/06  BoGo update, should be fixed"
   213    },
   214    "ErrorMap": {
   215        ":ECH_REJECTED:": ["tls: server rejected ECH"]
   216    }
   217}

View as plain text