Text file src/crypto/tls/bogo_config.json

     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          "MLKEMKeyShareIncludedThird": "BoGo wants us to order the key shares based on its preference, but we don't support that",
    38          "PostQuantumNotEnabledByDefaultInClients": "We do enable it by default!",
    39          "*-Kyber-TLS13": "We don't support Kyber, only ML-KEM (BoGo bug ignoring AllCurves?)",
    40  
    41          "*-RSA_PKCS1_SHA256_LEGACY-TLS13": "We don't support the legacy PKCS#1 v1.5 codepoint for TLS 1.3",
    42          "*-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",
    43          "*-VerifyDefault-*": "Our signature algorithms are not configurable, so there is no difference between default and supported",
    44          "Ed25519DefaultDisable-*": "We support Ed25519 by default",
    45          "NoCommonSignatureAlgorithms-TLS12-Fallback": "We don't support the legacy RSA exchange (without tlsrsakex=1)",
    46  
    47          "*_SHA1-TLS12": "We don't support SHA-1 in TLS 1.2 (without tlssha1=1)",
    48          "Agree-Digest-SHA1": "We don't support SHA-1 in TLS 1.2 (without tlssha1=1)",
    49          "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",
    50  
    51          "Agree-Digest-SHA256": "We select signature algorithms in peer preference order. We should consider changing this.",
    52  
    53          "V2ClientHello-*": "We don't support SSLv2",
    54          "SendV2ClientHello*": "We don't support SSLv2",
    55          "*QUIC*": "No QUIC support",
    56          "Compliance-fips*": "No FIPS",
    57          "*DTLS*": "No DTLS",
    58          "SendEmptyRecords*": "crypto/tls doesn't implement spam protections",
    59          "SendWarningAlerts*": "crypto/tls doesn't implement spam protections",
    60          "SendUserCanceledAlerts-TooMany-TLS13": "crypto/tls doesn't implement spam protections",
    61          "TooManyKeyUpdates": "crypto/tls doesn't implement spam protections (TODO: I think?)",
    62          "KyberNotEnabledByDefaultInClients": "crypto/tls intentionally enables it",
    63          "JustConfiguringKyberWorks": "we always send a X25519 key share with Kyber",
    64          "KyberKeyShareIncludedSecond": "we always send the Kyber key share first",
    65          "KyberKeyShareIncludedThird": "we always send the Kyber key share first",
    66          "GREASE-Server-TLS13": "We don't send GREASE extensions",
    67          "SendBogusAlertType": "sending wrong alert type",
    68          "*Client-P-224*": "no P-224 support",
    69          "*Server-P-224*": "no P-224 support",
    70          "CurveID-Resume*": "unexposed curveID is not stored in the ticket yet",
    71          "BadRSAClientKeyExchange-4": "crypto/tls doesn't check the version number in the premaster secret - see processClientKeyExchange comment",
    72          "BadRSAClientKeyExchange-5": "crypto/tls doesn't check the version number in the premaster secret - see processClientKeyExchange comment",
    73          "SupportTicketsWithSessionID": "We don't support session ID resumption",
    74          "ResumeTLS12SessionID-TLS13": "We don't support session ID resumption",
    75          "TrustAnchors-*": "We don't support draft-beck-tls-trust-anchor-ids",
    76          "PAKE-Extension-*": "We don't support PAKE",
    77          "*TicketFlags": "We don't support draft-ietf-tls-tlsflags",
    78  
    79          "CheckLeafCurve": "TODO: first pass, this should be fixed",
    80          "KeyUpdate-RequestACK": "TODO: first pass, this should be fixed",
    81          "SupportedVersionSelection-TLS12": "TODO: first pass, this should be fixed",
    82          "UnsolicitedServerNameAck-TLS-TLS1": "TODO: first pass, this should be fixed",
    83          "TicketSessionIDLength-33-TLS-TLS1": "TODO: first pass, this should be fixed",
    84          "UnsolicitedServerNameAck-TLS-TLS11": "TODO: first pass, this should be fixed",
    85          "TicketSessionIDLength-33-TLS-TLS11": "TODO: first pass, this should be fixed",
    86          "UnsolicitedServerNameAck-TLS-TLS12": "TODO: first pass, this should be fixed",
    87          "TicketSessionIDLength-33-TLS-TLS12": "TODO: first pass, this should be fixed",
    88          "UnsolicitedServerNameAck-TLS-TLS13": "TODO: first pass, this should be fixed",
    89          "RenegotiationInfo-Forbidden-TLS13": "TODO: first pass, this should be fixed",
    90          "EMS-Forbidden-TLS13": "TODO: first pass, this should be fixed",
    91          "SendUnsolicitedOCSPOnCertificate-TLS13": "TODO: first pass, this should be fixed",
    92          "SendUnsolicitedSCTOnCertificate-TLS13": "TODO: first pass, this should be fixed",
    93          "SendUnknownExtensionOnCertificate-TLS13": "TODO: first pass, this should be fixed",
    94          "Resume-Server-NoTickets-TLS1-TLS1-TLS": "TODO: first pass, this should be fixed",
    95          "Resume-Server-NoTickets-TLS11-TLS11-TLS": "TODO: first pass, this should be fixed",
    96          "Resume-Server-NoTickets-TLS12-TLS12-TLS": "TODO: first pass, this should be fixed",
    97          "Resume-Server-NoPSKBinder": "TODO: first pass, this should be fixed",
    98          "Resume-Server-PSKBinderFirstExtension": "TODO: first pass, this should be fixed",
    99          "Resume-Server-PSKBinderFirstExtension-SecondBinder": "TODO: first pass, this should be fixed",
   100          "Resume-Server-NoPSKBinder-SecondBinder": "TODO: first pass, this should be fixed",
   101          "Resume-Server-OmitPSKsOnSecondClientHello": "TODO: first pass, this should be fixed",
   102          "Renegotiate-Server-Forbidden": "TODO: first pass, this should be fixed",
   103          "Renegotiate-Client-Forbidden-1": "TODO: first pass, this should be fixed",
   104          "UnknownExtension-Client": "TODO: first pass, this should be fixed",
   105          "UnknownUnencryptedExtension-Client-TLS13": "TODO: first pass, this should be fixed",
   106          "UnofferedExtension-Client-TLS13": "TODO: first pass, this should be fixed",
   107          "UnknownExtension-Client-TLS13": "TODO: first pass, this should be fixed",
   108          "SendClientVersion-RSA": "TODO: first pass, this should be fixed",
   109          "NoCommonCurves": "TODO: first pass, this should be fixed",
   110          "PointFormat-EncryptedExtensions-TLS13": "TODO: first pass, this should be fixed",
   111          "TLS13-SendNoKEMModesWithPSK-Server": "TODO: first pass, this should be fixed",
   112          "TLS13-DuplicateTicketEarlyDataSupport": "TODO: first pass, this should be fixed",
   113          "Basic-Client-NoTicket-TLS-Sync": "TODO: first pass, this should be fixed",
   114          "Basic-Server-RSA-TLS-Sync": "TODO: first pass, this should be fixed",
   115          "Basic-Client-NoTicket-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
   116          "Basic-Server-RSA-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
   117          "Basic-Client-NoTicket-TLS-Sync-PackHandshake": "TODO: first pass, this should be fixed",
   118          "Basic-Server-RSA-TLS-Sync-PackHandshake": "TODO: first pass, this should be fixed",
   119          "PartialSecondClientHelloAfterFirst": "TODO: first pass, this should be fixed",
   120          "PartialServerHelloWithHelloRetryRequest": "TODO: first pass, this should be fixed",
   121          "TrailingDataWithFinished-Server-TLS1": "TODO: first pass, this should be fixed",
   122          "PartialClientKeyExchangeWithClientHello": "TODO: first pass, this should be fixed",
   123          "TrailingDataWithFinished-Resume-Server-TLS1": "TODO: first pass, this should be fixed",
   124          "TrailingDataWithFinished-Resume-Client-TLS11": "TODO: first pass, this should be fixed",
   125          "TrailingDataWithFinished-Client-TLS1": "TODO: first pass, this should be fixed",
   126          "TrailingDataWithFinished-Client-TLS11": "TODO: first pass, this should be fixed",
   127          "TrailingDataWithFinished-Client-TLS12": "TODO: first pass, this should be fixed",
   128          "TrailingDataWithFinished-Client-TLS13": "TODO: first pass, this should be fixed",
   129          "PartialNewSessionTicketWithServerHelloDone": "TODO: first pass, this should be fixed",
   130          "TrailingDataWithFinished-Server-TLS11": "TODO: first pass, this should be fixed",
   131          "TrailingDataWithFinished-Server-TLS12": "TODO: first pass, this should be fixed",
   132          "TrailingDataWithFinished-Resume-Server-TLS11": "TODO: first pass, this should be fixed",
   133          "TrailingDataWithFinished-Resume-Client-TLS12": "TODO: first pass, this should be fixed",
   134          "TrailingDataWithFinished-Resume-Server-TLS12": "TODO: first pass, this should be fixed",
   135          "TrailingDataWithFinished-Resume-Client-TLS13": "TODO: first pass, this should be fixed",
   136          "TrailingDataWithFinished-Resume-Client-TLS1": "TODO: first pass, this should be fixed",
   137          "TrailingMessageData-ClientHello-TLS": "TODO: first pass, this should be fixed",
   138          "TrailingMessageData-ServerHello-TLS": "TODO: first pass, this should be fixed",
   139          "TrailingMessageData-ServerCertificate-TLS": "TODO: first pass, this should be fixed",
   140          "TrailingMessageData-ServerHelloDone-TLS": "TODO: first pass, this should be fixed",
   141          "TrailingMessageData-ServerKeyExchange-TLS": "TODO: first pass, this should be fixed",
   142          "TrailingMessageData-CertificateRequest-TLS": "TODO: first pass, this should be fixed",
   143          "TrailingMessageData-CertificateVerify-TLS": "TODO: first pass, this should be fixed",
   144          "TrailingMessageData-ServerFinished-TLS": "TODO: first pass, this should be fixed",
   145          "TrailingMessageData-ClientKeyExchange-TLS": "TODO: first pass, this should be fixed",
   146          "TrailingMessageData-TLS13-ClientHello-TLS": "TODO: first pass, this should be fixed",
   147          "TrailingMessageData-ClientFinished-TLS": "TODO: first pass, this should be fixed",
   148          "TrailingMessageData-NewSessionTicket-TLS": "TODO: first pass, this should be fixed",
   149          "TrailingMessageData-ClientCertificate-TLS": "TODO: first pass, this should be fixed",
   150          "TrailingMessageData-TLS13-CertificateRequest-TLS": "TODO: first pass, this should be fixed",
   151          "TrailingMessageData-TLS13-ServerCertificateVerify-TLS": "TODO: first pass, this should be fixed",
   152          "TrailingMessageData-TLS13-EncryptedExtensions-TLS": "TODO: first pass, this should be fixed",
   153          "TrailingMessageData-TLS13-ClientCertificate-TLS": "TODO: first pass, this should be fixed",
   154          "TrailingMessageData-TLS13-ClientCertificateVerify-TLS": "TODO: first pass, this should be fixed",
   155          "TrailingMessageData-TLS13-ServerCertificate-TLS": "TODO: first pass, this should be fixed",
   156          "SkipEarlyData-TLS13": "TODO: first pass, this should be fixed",
   157          "DuplicateKeyShares-TLS13": "TODO: first pass, this should be fixed",
   158          "Server-TooLongSessionID-TLS13": "TODO: first pass, this should be fixed",
   159          "Client-TooLongSessionID": "TODO: first pass, this should be fixed",
   160          "Client-ShortSessionID": "TODO: first pass, this should be fixed",
   161          "TLS12NoSessionID-TLS13": "TODO: first pass, this should be fixed",
   162          "Server-TooLongSessionID-TLS12": "TODO: first pass, this should be fixed",
   163          "EmptyEncryptedExtensions-TLS13": "TODO: first pass, this should be fixed",
   164          "SkipEarlyData-SecondClientHelloEarlyData-TLS13": "TODO: first pass, this should be fixed",
   165          "EncryptedExtensionsWithKeyShare-TLS13": "TODO: first pass, this should be fixed",
   166          "HelloRetryRequest-DuplicateCurve-TLS13": "TODO: first pass, this should be fixed",
   167          "HelloRetryRequest-DuplicateCookie-TLS13": "TODO: first pass, this should be fixed",
   168          "HelloRetryRequest-Unknown-TLS13": "TODO: first pass, this should be fixed",
   169          "SendPostHandshakeChangeCipherSpec-TLS13": "TODO: first pass, this should be fixed",
   170          "ECDSAKeyUsage-Server-TLS12": "TODO: first pass, this should be fixed",
   171          "ECDSAKeyUsage-Server-TLS13": "TODO: first pass, this should be fixed",
   172          "RSAKeyUsage-Client-WantEncipherment-GotEnciphermentTLS1": "TODO: first pass, this should be fixed",
   173          "RSAKeyUsage-Server-WantSignature-GotEncipherment-TLS1": "TODO: first pass, this should be fixed",
   174          "RSAKeyUsage-Client-WantSignature-GotSignature-TLS1": "TODO: first pass, this should be fixed",
   175          "RSAKeyUsage-Client-WantEncipherment-GotEnciphermentTLS11": "TODO: first pass, this should be fixed",
   176          "RSAKeyUsage-Client-WantSignature-GotSignature-TLS11": "TODO: first pass, this should be fixed",
   177          "RSAKeyUsage-Client-WantEncipherment-GotEnciphermentTLS12": "TODO: first pass, this should be fixed",
   178          "RSAKeyUsage-Server-WantSignature-GotEncipherment-TLS12": "TODO: first pass, this should be fixed",
   179          "RSAKeyUsage-Server-WantSignature-GotEncipherment-TLS11": "TODO: first pass, this should be fixed",
   180          "RSAKeyUsage-Client-WantSignature-GotSignature-TLS12": "TODO: first pass, this should be fixed",
   181          "RSAKeyUsage-Client-WantSignature-GotSignature-TLS13": "TODO: first pass, this should be fixed",
   182          "RSAKeyUsage-Server-WantSignature-GotEncipherment-TLS13": "TODO: first pass, this should be fixed",
   183          "EmptyExtensions-ClientHello-TLS1": "TODO: first pass, this should be fixed",
   184          "OmitExtensions-ClientHello-TLS1": "TODO: first pass, this should be fixed",
   185          "EmptyExtensions-ClientHello-TLS12": "TODO: first pass, this should be fixed",
   186          "OmitExtensions-ClientHello-TLS12": "TODO: first pass, this should be fixed",
   187          "EmptyExtensions-ClientHello-TLS11": "TODO: first pass, this should be fixed",
   188          "OmitExtensions-ClientHello-TLS11": "TODO: first pass, this should be fixed",
   189          "DuplicateCertCompressionExt-TLS12": "TODO: first pass, this should be fixed",
   190          "DuplicateCertCompressionExt-TLS13": "TODO: first pass, this should be fixed",
   191          "Client-RejectJDK11DowngradeRandom": "TODO: first pass, this should be fixed",
   192          "CheckClientCertificateTypes": "TODO: first pass, this should be fixed",
   193          "CheckECDSACurve-TLS12": "TODO: first pass, this should be fixed",
   194          "ALPNClient-RejectUnknown-TLS-TLS1": "TODO: first pass, this should be fixed",
   195          "ALPNClient-RejectUnknown-TLS-TLS11": "TODO: first pass, this should be fixed",
   196          "ALPNClient-RejectUnknown-TLS-TLS12": "TODO: first pass, this should be fixed",
   197          "ALPNClient-RejectUnknown-TLS-TLS13": "TODO: first pass, this should be fixed",
   198          "ClientHelloPadding": "TODO: first pass, this should be fixed",
   199          "TLS13-ExpectTicketEarlyDataSupport": "TODO: first pass, this should be fixed",
   200          "TLS13-EarlyData-TooMuchData-Client-TLS-Sync": "TODO: first pass, this should be fixed",
   201          "TLS13-EarlyData-TooMuchData-Client-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
   202          "TLS13-EarlyData-TooMuchData-Client-TLS-Sync-PackHandshake": "TODO: first pass, this should be fixed",
   203          "WrongMessageType-TLS13-EndOfEarlyData-TLS": "TODO: first pass, this should be fixed",
   204          "TrailingMessageData-TLS13-EndOfEarlyData-TLS": "TODO: first pass, this should be fixed",
   205          "SendHelloRetryRequest-2-TLS13": "TODO: first pass, this should be fixed",
   206          "EarlyData-SkipEndOfEarlyData-TLS13": "TODO: first pass, this should be fixed",
   207          "EarlyData-Server-BadFinished-TLS13": "TODO: first pass, this should be fixed",
   208          "EarlyData-UnexpectedHandshake-Server-TLS13": "TODO: first pass, this should be fixed",
   209          "EarlyData-CipherMismatch-Client-TLS13": "TODO: first pass, this should be fixed",
   210  
   211          "ServerNameExtensionServer-TLS-*": "https://github.com/golang/go/issues/74282",
   212  
   213          "Resume-Server-UnofferedCipher-TLS13": "TODO: first pass, this should be fixed",
   214          "GarbageCertificate-Server-TLS13": "TODO: 2025/06 BoGo update, should be fixed",
   215          "WrongMessageType-TLS13-ClientCertificate-TLS": "TODO: 2025/06  BoGo update, should be fixed",
   216          "KeyUpdate-Requested": "TODO: 2025/06  BoGo update, should be fixed",
   217          "AppDataBeforeTLS13KeyChange-*": "TODO: 2025/06  BoGo update, should be fixed"
   218      },
   219      "AllCurves": [
   220          23,
   221          24,
   222          25,
   223          29,
   224          4588
   225      ],
   226      "ErrorMap": {
   227          ":ECH_REJECTED:": ["tls: server rejected ECH"]
   228      }
   229  }
   230  

View as plain text