)]}'
{
  "commit": "2e33b24cdb5b021c07990dc6d0191ae4a1480cfb",
  "tree": "0fe13bce7dec9d1e801aac9c8cb289b2cda8a2e5",
  "parents": [
    "d2eb6e270a54e7c9e24fc8788d6c31d9e7c9376e"
  ],
  "author": {
    "name": "Lily Chen",
    "email": "chlily@google.com",
    "time": "Fri Nov 06 18:09:07 2026 +0000"
  },
  "committer": {
    "name": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Nov 24 19:07:25 2026 -0800"
  },
  "message": "pki: Treat MTC CA certificates as ordinary trust anchors\n\nAfter this change, MTC CA certificates are stored, found, and trusted\nlike any other certificate.\n\nThe verifier recognizes an MTC CA by the MTC CA extension in its\ncertificate. If the trust anchor has the extension, the certificate it\nissued is verified as an MTC, using the anchor\u0027s certificate and\nCertificateTrust. An MTC CA\u0027s cosigner key is never used to verify a\nsignature directly.\n\nSince any trusted MTC CA certificate can now verify MTCs, this CL also\nenforces the remaining requirements on MTC CA certificates from\ndraft-ietf-plants-merkle-tree-certs, Section 5.5, so that an invalid\nlocally-trusted MTC CA certificate is never accepted:\n\n1. A trust anchor with the MTC CA extension must have the basic\n   constraints extension with cA set, and the key usage extension\n   asserting keyCertSign, whether or not trust anchor constraints are\n   enforced.\n\n2. An MTC\u0027s serial number must be within the MTC CA certificate\u0027s\n   minSerial..maxSerial range.\n\nThe path builder now tracks trust as a CertificateTrust, and the\ndeprecated CertPathBuilderResultPath::trust_anchor is removed in favor\nof GetTrustedCert() and last_cert_trust.\n\nMTCAnchor is now deprecated but remains, along with TrustAnchor,\nCreatePlants07(), AddMTCTrustAnchor(), GetTrustedMTCIssuerOf(), and the\ndeprecated IsCosignatureVerificationResultAcceptable() delegate method,\nuntil callers migrate.\n\nBug: 575507260\nCq-Include-Trybots: chromium/try:linux-rel\nChange-Id: Iadee08b5d58481ef69510e46f1d216226a6a6964\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/105408\nAuto-Submit: Lily Chen \u003cchlily@google.com\u003e\nReviewed-by: David Benjamin \u003cdavidben@google.com\u003e\nReviewed-by: Matt Mueller \u003cmattm@google.com\u003e\nCommit-Queue: Lily Chen \u003cchlily@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d0bff2848b4dd010ff6f3a19f6fe3cb12f312cea",
      "old_mode": 33188,
      "old_path": "CMakeLists.txt",
      "new_id": "83afe937477cd8bea320e79c5ea8613dc27b6af1",
      "new_mode": 33188,
      "new_path": "CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "246a451c621d99a8425af3db2c406eac73259a94",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_basic_constraints/ca_cert.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5d38f324c02487d8bc6467e0ee36daab1132c11b",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_basic_constraints/cert_1_0.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f2ed13da7f783fbcd60935b9139e1054b102d717",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_basic_constraints/mtc_testdata_config.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "00fd33c1850c95b547fa4c192207208acff19042",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_key_cert_sign/ca_cert.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f37f0e44df2e1b340964ec017f524ef30280bea9",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_key_cert_sign/cert_1_0.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "43688c9bd0221ff73fcac0e5dad14a485559c1d5",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_key_cert_sign/mtc_testdata_config.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9b5d3e1528ad2f3a67a5ea31b5bfdae9ca916ffa",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_key_usage/ca_cert.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3a9457fb62d73b334abf80fc90416161ce3f030b",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_key_usage/cert_1_0.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ff5a06a0a61bd92091d2eb337284898798d1433f",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_no_key_usage/mtc_testdata_config.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eef3cbfd736c0cf6b8211edd892fcab5e3584b6a",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_not_ca/ca_cert.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3142dd521bce358571b83c46752db832739cae35",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_not_ca/cert_1_0.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1ec14a84d0abc37cc54a0a92d6ffb9aec9fd025d",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/ca_not_ca/mtc_testdata_config.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3d9081857ba40d76d16c531ccfe18e35b78ba37d",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_above_max/ca_cert.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dcfc9a5141f1c0ae7f0393c3e816cd766c58e9d2",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_above_max/cert_1_0.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a636b39363af8e9a66cb16db639d299352c16850",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_above_max/mtc_testdata_config.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8179a93272e865e775db00b261292d8a866bc173",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_at_min_and_max/ca_cert.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "65747503c703dd64626c36d4173517a9c8e6f398",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_at_min_and_max/cert_1_0.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "af690b746469376915904c07bf8541189027c70b",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_at_min_and_max/mtc_testdata_config.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "34b8f2242fd0f0c566359ad805e1882d2ac6bf81",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_below_min/ca_cert.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c5f15529f8f38ae424332d525223ef12269253f9",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_below_min/cert_1_0.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9afa6c5090b4d9de67276f6894ed7f802f21bac4",
      "new_mode": 33188,
      "new_path": "crypto/x509/test/mtc/serial_below_min/mtc_testdata_config.json"
    },
    {
      "type": "modify",
      "old_id": "5fab00faba631c6ef90090547c1905f05d2b3e32",
      "old_mode": 33188,
      "old_path": "gen/sources.bzl",
      "new_id": "f88c401531386a0d075b3677743bf7aebe5be3b3",
      "new_mode": 33188,
      "new_path": "gen/sources.bzl"
    },
    {
      "type": "modify",
      "old_id": "b4163e99be1534a2ff1bffaa8c526200bb6d3a76",
      "old_mode": 33188,
      "old_path": "gen/sources.cmake",
      "new_id": "137c6654bef7900814c20aa9e10bc3573ae80c75",
      "new_mode": 33188,
      "new_path": "gen/sources.cmake"
    },
    {
      "type": "modify",
      "old_id": "0e82ef2f75ca32a1b461ab6fcf393b323911a5be",
      "old_mode": 33188,
      "old_path": "gen/sources.gni",
      "new_id": "507ce67d076141c451048b99234f58758fb8c220",
      "new_mode": 33188,
      "new_path": "gen/sources.gni"
    },
    {
      "type": "modify",
      "old_id": "e8c11e08032b27e1c28e5a5bae20cb9524572ec3",
      "old_mode": 33188,
      "old_path": "gen/sources.json",
      "new_id": "20a1408e7fbfc0e052e2739559c9536c143b8550",
      "new_mode": 33188,
      "new_path": "gen/sources.json"
    },
    {
      "type": "modify",
      "old_id": "5650d62a8a52504c301bddcfe0bc9ffa8fb988c6",
      "old_mode": 33188,
      "old_path": "gen/sources.mk",
      "new_id": "a98b465b8f2f073fea89828e6dcc50329ab11aaf",
      "new_mode": 33188,
      "new_path": "gen/sources.mk"
    },
    {
      "type": "modify",
      "old_id": "64c4bc8a8c75473f48fc93436551b925550dca6e",
      "old_mode": 33188,
      "old_path": "pki/common_cert_errors.cc",
      "new_id": "c2f513a209cc55585db2b3ac59d3aa4ac54c91ca",
      "new_mode": 33188,
      "new_path": "pki/common_cert_errors.cc"
    },
    {
      "type": "modify",
      "old_id": "0a32f4c821ec58a79073a197ab34077ec94c2952",
      "old_mode": 33188,
      "old_path": "pki/common_cert_errors.h",
      "new_id": "fad3c6cf012bf9fbce5a897cc4f2205dd8012371",
      "new_mode": 33188,
      "new_path": "pki/common_cert_errors.h"
    },
    {
      "type": "modify",
      "old_id": "4afb245d7effd369706016a4aab4432380d4e11a",
      "old_mode": 33188,
      "old_path": "pki/ocsp.cc",
      "new_id": "c5c0e761b6b23a20c628c50bdf1bab87bb5fc48a",
      "new_mode": 33188,
      "new_path": "pki/ocsp.cc"
    },
    {
      "type": "modify",
      "old_id": "2f3b9b9b0d605ac7d8325a38a6649c1130dc77ed",
      "old_mode": 33188,
      "old_path": "pki/parse_certificate.h",
      "new_id": "6e05a36d9995eda73b063ef3e82926531b4326af",
      "new_mode": 33188,
      "new_path": "pki/parse_certificate.h"
    },
    {
      "type": "modify",
      "old_id": "56ac10ff6a67e6d21bdec9df5133ae8b1c2fe742",
      "old_mode": 33188,
      "old_path": "pki/parsed_certificate.cc",
      "new_id": "d66080fd01372cae185ba1fd1558934947383386",
      "new_mode": 33188,
      "new_path": "pki/parsed_certificate.cc"
    },
    {
      "type": "modify",
      "old_id": "546c85557c1db84a3d0d601ceea2b5e9db85cc2d",
      "old_mode": 33188,
      "old_path": "pki/path_builder.cc",
      "new_id": "a29e7d4623d2179e83c011dc379a5c8523eba09c",
      "new_mode": 33188,
      "new_path": "pki/path_builder.cc"
    },
    {
      "type": "modify",
      "old_id": "05d2424bd39a890f71637d514fbf2787aa5fa737",
      "old_mode": 33188,
      "old_path": "pki/path_builder.h",
      "new_id": "015db1f1226d138942126215887135f04fbdb25b",
      "new_mode": 33188,
      "new_path": "pki/path_builder.h"
    },
    {
      "type": "modify",
      "old_id": "7146b26b9722e33adf7ce9f766de1e3aca725136",
      "old_mode": 33188,
      "old_path": "pki/path_builder_unittest.cc",
      "new_id": "ad24e90063f4acc912764599d88e12c6d3c0c4cf",
      "new_mode": 33188,
      "new_path": "pki/path_builder_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "e7ecf6a0061d893b905c1e1b705d5ff4fccb5a1e",
      "old_mode": 33188,
      "old_path": "pki/test_helpers.h",
      "new_id": "4e68bf89cdab721de4288815d0b12cb3221f56cc",
      "new_mode": 33188,
      "new_path": "pki/test_helpers.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "469f3d72c38b401ccf55caaed7e75d4459382b73",
      "new_mode": 33188,
      "new_path": "pki/testdata/verify_unittest/generate_mtc_ca_intermediate_certs.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e6472a7b8dbec3b7a5267ae11e5f5f868e9fb33c",
      "new_mode": 33188,
      "new_path": "pki/testdata/verify_unittest/mtc-ca-intermediate-root.pem"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "15b07a98f5fae17536b4fb4c4aa2a964e7b606f3",
      "new_mode": 33188,
      "new_path": "pki/testdata/verify_unittest/mtc-ca-intermediate.pem"
    },
    {
      "type": "modify",
      "old_id": "eb319187cb77981f7fcd65b44b7d162c9d267848",
      "old_mode": 33188,
      "old_path": "pki/trust_store.cc",
      "new_id": "b40915928673fffe68ce5550d495a80c455e1732",
      "new_mode": 33188,
      "new_path": "pki/trust_store.cc"
    },
    {
      "type": "modify",
      "old_id": "2e464f48775b0839bac91fa32feca518453f6b05",
      "old_mode": 33188,
      "old_path": "pki/trust_store.h",
      "new_id": "6a5f9766124779ddd6645aa5eef843d637254e58",
      "new_mode": 33188,
      "new_path": "pki/trust_store.h"
    },
    {
      "type": "modify",
      "old_id": "7f816dc90a4cd93b9a2d78fd6d73499403cbd58b",
      "old_mode": 33188,
      "old_path": "pki/trust_store_collection_unittest.cc",
      "new_id": "28ebc5c5b6fd54919878a92815c8fdb3794e499c",
      "new_mode": 33188,
      "new_path": "pki/trust_store_collection_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "0c4509ed055c2600c5c444137c26942dd37e8b65",
      "old_mode": 33188,
      "old_path": "pki/trust_store_in_memory.cc",
      "new_id": "e1f2b62acbea820a57a45021326327f8a80959b6",
      "new_mode": 33188,
      "new_path": "pki/trust_store_in_memory.cc"
    },
    {
      "type": "modify",
      "old_id": "d9398d1004a6f0ac42f12fff569d2219f0ac4153",
      "old_mode": 33188,
      "old_path": "pki/trust_store_in_memory.h",
      "new_id": "76ed035d3877b46117d08c3e1682e54eb62db8cd",
      "new_mode": 33188,
      "new_path": "pki/trust_store_in_memory.h"
    },
    {
      "type": "modify",
      "old_id": "8eae0c92ee1635f70aa6e3bb06a745814293a76a",
      "old_mode": 33188,
      "old_path": "pki/verify_certificate_chain.cc",
      "new_id": "6455927f9e6ae909f0a72881bec820fe0ab5aae1",
      "new_mode": 33188,
      "new_path": "pki/verify_certificate_chain.cc"
    },
    {
      "type": "modify",
      "old_id": "ff615ce401355de8a6f28810e0106eba6ae993ec",
      "old_mode": 33188,
      "old_path": "pki/verify_certificate_chain.h",
      "new_id": "398de02ee6fc29ad9eaa9f3eb692a45b188427c2",
      "new_mode": 33188,
      "new_path": "pki/verify_certificate_chain.h"
    },
    {
      "type": "modify",
      "old_id": "03b03790a1b6d79da353a943065844e6b0979e35",
      "old_mode": 33188,
      "old_path": "pki/verify_certificate_chain_unittest.cc",
      "new_id": "802db5127d473315f3866e83f2d955605a07f2b4",
      "new_mode": 33188,
      "new_path": "pki/verify_certificate_chain_unittest.cc"
    }
  ]
}
