[Plants] Re: MTCLogEntry extensibility
Angel <angeltoranzoportela@gmail.com> Thu, 01 October 2026 20:06 UTC
Received: from mail-oo2-x28.google.com (mail-oo2-x28.google.com [IPv6:2607:f8b0:4864:31::28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id AA31D4B for <plants@ietf.org>; Thu, 01 Oct 2026 20:06:57 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=gmail.com header.s=20251104 header.b=NI1Jc9EC; dmarc=pass (policy=none) header.from=gmail.com; arc=pass ("google.com:s=arc-20260327:i=1"); spf=pass (mx.ietf.org: domain of angeltoranzoportela@gmail.com designates 2607:f8b0:4864:31::28 as permitted sender) smtp.mailfrom=angeltoranzoportela@gmail.com
Received: by mail-oo2-x28.google.com with SMTP id 006d021491bc7-6dd42533365so1145267eaf.2 for <plants@ietf.org>; Thu, 01 Oct 2026 13:06:57 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1790885217; cv=none; d=google.com; s=arc-20260327; b=qwr0EpErkGJFp5ZoJ/h+WH4g0vKwnXFItzPtw1Ct483k5oBc/yOBABSbxESITcEZ1k pYKMZIaF3ZpHqHE+1w3QacrkMVJtTE/IHEBon2/Tu+huVO/3WzYvXyo/zEKyP/C30N+U G6tcntb2L2JVkhK+5qfTGitL2nCfjjBE1nqAZ07yRvMJxAsXeAFmJUc9+bOzO1BzD45w Tg39N/SxPX275iCls+i3kgYWIfJe1QBpQfAZnIAjx66mxn76Khs8FdmwaioEc5Rwvo94 6czapUVVLxlfnFl8/tYUYQ36aeb1jQ9Vg85aR7dcfUk3PweFKNaYE6ntGnrkxHo6ALdT jPOw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WS2/kwZekh3kPTEePX1/FMeSPG9ziolk2vvAznQImwU=; fh=yjALYxPZl+2WsjJuznIULB+yjASrsmiwGcESKUmtkhU=; b=HMFN8yBtT3vLEgGvgvt+oXOSWrATYK5V24JQQ3O5rge2jMvZzHoE5gqjqJWq+I5zwR R7kXY3FAA3ue/BKoT+g54EfMXeTirWryglNcCKVzPb84nKBMCYS7f8TCmnw+Yu1aEg/1 81nWG9O6xcF/pjcmxSxDzDJ1coFGjoMYrN6q6xVqe7nJO77TT9ZsGipEBIriA5gH8s1r nXjAguo6c+VoyvHecrw7ueJJCug1O+fZF+QeKY0GmiFPUvlISEjW7mxUdRJi1DkQenY6 u5Rnpx/wodFZfKtC0w0Uzvpzob26dnYJC9G4jDiHcnItW6c5i2S1Hi0SsYuM2E2H+VNQ QulQ==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790885217; x=1791490017; darn=ietf.org; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to:content-type; bh=WS2/kwZekh3kPTEePX1/FMeSPG9ziolk2vvAznQImwU=; b=NI1Jc9EC+voUgxOwKGvvLy7/iK6NTiDBbPCpwtbrTgtaEAmE+OAsNtoH/ieIKuHwoy zHCT88xXragi1gmz5R67zLalF/UzPp0+BWyV4+tgorIxpRxrZVrkl53IYlI0B+4tWVu2 6fQCcj/2HcuzVCdrEoTkhJFcMziKNWGf1y77WjKOABP9xsfjX9ofgUYFX+9PToR534zc a5kg3zTA6AVNrHZ/9pED77u4El/FhkRfQIDUi9xZ7jVEaQuuKaUR+LAzsODJQR8GxFv+ epIlV2K0NXVf1MFVZbbRGrUFKocny4WzO2eCXcXsW9UsujK/cjEylj91QnivpwqRu9kx yMbw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790885217; x=1791490017; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=WS2/kwZekh3kPTEePX1/FMeSPG9ziolk2vvAznQImwU=; b=xgGv3gHZEaaMVxZA/ulKtiH5CKana01GJZtgCVhVxmh0juzBOtnsARQNMT0fuA35ND l4n9DJgsUzAn4jejw+IcCo6uMIYNUeGLdszIbF97zmnrcjrE4Hq7xMF36NCHOscO/u2i YlvDIjwkcDikJIVLaxaFB/DKcBOUI0yjlulVeg9D/5XrqdPUyM6Zbbg4bLqeld7x7nB+ kj5sqXurJPOsD5j9xB+UkXGhfw8jRTnARef8OROjYCvPge7eT+WZ0wqGztHZ9E7JW9YL Goga3AktYDZPGUXai8PC0Rgb+fQs4tXt72L7HByuEGzI5g6ceug1HIDoFXzPG0VAQToo Mz2Q==
X-Forwarded-Encrypted: i=1; AKwUvBw9n7+Ehey43stq4824L1BMKrbKZYNfI8ah9VBo/xfC8c2y+Kgtn5AJopBEy8NU07gvi3TujF8=@ietf.org
X-Gm-Message-State: AFuF++nRYRvHXCoCcy5e9uoo0NbjMBTGy9Uf88HnyNZFv/Ythie9X9Bv ofhAFeO9RKEaPF/QKtfAN089QZ01egvtpAPugoTNifrGumTskJog4Oq9yFEIvLl4+0AYRG2PmhI 6GbQBDkICtzz2enAnRh8XLmx4p2WLxlU=
X-Gm-Gg: AYBFou1sDawSc6Uq5b/YWfMwMqdPOzwWfvtx/G2GAw+VnoVJTQDOqAiFa+XmyL73aDj Lo2V6BahUXecGyMJFHDf4fTGl3/B7GB4h4NUbHiht+ari5UWiiupxeeD+1uD6LuEkGpPQNQU1qL nA+ZpSTBvhXVgw3cr8ZI6TadVUL8LzNPvBbJMz4g6Bdp4YFjg9VpUM174zmdYxrl+GtfdogEJr+ cmPX7YyXp4uZepeFYhMb+ME9rP/91nm67EKorWGlG+PbrBEI7o2akhW3Syb6uxgC7Q2Emo6l68n I0znKEqsldNCr67jiH+ynBQPRZ65yhdxwVnAsTlGeweElCsCEvo40UnHfAWSLwhizSUb6FKH5x9 4D86pr7Ol2Gw4Gpz8enrRNQ==
X-Received: by 2002:a05:6820:4cc3:b0:6de:9b73:3799 with SMTP id 006d021491bc7-6df32d9a3aemr486748eaf.30.1790885216741; Thu, 01 Oct 2026 13:06:56 -0700 (PDT)
MIME-Version: 1.0
References: <1db301dd51ab$db1cfb30$9156f190$@gmail.com> <CAF8qwaCuHX0y=Ck0q1W1J3jhquc8ZHpSNGi22QDqnVZevOWFYw@mail.gmail.com> <1dc801dd51b1$c4391740$4cab45c0$@gmail.com> <CACsn0ckGyFu8zjzUXvNRrKxYHyhne60gvxV3iAutkq40zdY+3w@mail.gmail.com>
In-Reply-To: <CACsn0ckGyFu8zjzUXvNRrKxYHyhne60gvxV3iAutkq40zdY+3w@mail.gmail.com>
From: Angel <angeltoranzoportela@gmail.com>
Date: Thu, 01 Oct 2026 22:06:45 +0200
X-Gm-Features: AclHuK8C_UjgkAywf8QynHswQkUsB8mn3vH_Siotxrsg6iNZAZLIX35cs4nnfE0
Message-ID: <CANetTs=H8z3m5w85Ephbyr78EVcTn_h+z-YzpFre5pp6JcFpGQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spamd-Bar: /
Message-ID-Hash: JESZZ4VY7ZFEY2F7ZJXRH4CFI7KSASVW
X-Message-ID-Hash: JESZZ4VY7ZFEY2F7ZJXRH4CFI7KSASVW
X-MailFrom: angeltoranzoportela@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Valery Smyslov <smyslov.ietf@gmail.com>, David Benjamin <davidben@chromium.org>, ilariliusvaara@welho.com, plants@ietf.org
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [Plants] Re: MTCLogEntry extensibility
List-Id: "PKI, Logs, And Tree Signatures" <plants.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/plants/yK9cbW0EqnHDymq1m2fwgvlFBBc>
List-Archive: <https://mailarchive.ietf.org/arch/browse/plants>
List-Help: <mailto:plants-request@ietf.org?subject=help>
List-Owner: <mailto:plants-owner@ietf.org>
List-Post: <mailto:plants@ietf.org>
List-Subscribe: <mailto:plants-join@ietf.org>
List-Unsubscribe: <mailto:plants-leave@ietf.org>
Hi Valery, I think the reason is the one in the draft's Extensibility section: the RP builds the MTCLogEntry it expects, so an entry of any other type can never match the proof. If the type came in MTCProof, whoever presents the certificate would choose it. Then a leaf the CA logged under some future type, validated with that type's rules, could be passed off as a certificate, as long as its bytes can be made to line up with a TBSCertificate. The RP would hash exactly what the CA logged and accept it. That's how I implemented it in mtc-core: the RP never reads the type from the wire. Ángel El jue, 1 oct 2026 a las 21:35, Watson Ladd (<watsonbladd@gmail.com>) escribió: > > > > On Thu, Oct 1, 2026 at 7:33 AM Valery Smyslov <smyslov.ietf@gmail.com> wrote: >> >> HI David, >> >> >> >> On Thu, Oct 1, 2026 at 9:51 AM Valery Smyslov <smyslov.ietf@gmail.com> wrote: >> >> H Ilari, >> >> > > My concern is that the type of the MTCLogEntry is not known to the relying party. >> > > The relying party needs to reconstruct the MTCLogEntry to validate the inclusion proof >> > > and the algorithm in the Section 7.2 blindly assumes that the entry >> > > always has the tbs_cert_entry format. In case this format is extended in the future, >> > > how the relying party would know that a particular MTCProof structure >> > > corresponds to a new format (I assume the relying party supports both formats)? >> > >> > If the thing RP is processing is a certificate, it is tbs_cert_entry. >> > If it is something else (defined later), then it is something else. >> >> So, the data format for log entries for certificates is fixed forever? >> I think that this can become a limitation in future... >> >> >> >> Well, log entry is basically a TBSCertificate. In plain X.509, the data format for a TBSCertificate is fixed forever, and we seem to have managed OK. :-) >> >> >> >> Log entry is not exactly TBSCertificate. It is constructed from TBSCertificate using some fancy rules J >> >> >> >> But it actually isn't fixed. If we wanted to make tbs_cert_v2 (maybe we want to tweak the hashing construction for the SPKI), we'd make something like id-alg-mtcProof-v2 and have that kick in a different verification process. I don't particularly anticipate needing to do this, but it is a lever we can pull if we need it. >> >> >> >> Yes, it is definitely possible. I was thinking more about the situation, when tbs_cert_entry and tbs_cert_entry_v2 need to co-exist in a single log >> >> (don’t ask me why, just a thought). >> >> >> >> Of course, if we were to do that and weren't cycling CAs at the same time, we'd have to ponder the negotiation path on the transition side. It might be easiest to transition it by cycling CAs. And then it really isn't fixed because we can always just define MTCv2 and say "this CA is MTCv1 and that CA is MTCv2", using the same X.509 extension points we did this time around. >> >> >> >> It is always possible to add another layer of indirection J > > > I don't think this is an extra layer of indirection beyond what exists. > > A MTC CA is always going to have entries that have to have specified meaning to a relying party. Adjusting the format of those entries for a validator means adjusting the semantics of what the certificates issued by the CA means, which mens relying parties also need to change. The best single way to do this all is to change the CA. Having each tree have one type of entry simplifies the design of all sorts of tools as the cross-entry relations don't need to be thought about. > >> >> >> Regards, >> >> Valery. >> >> >> >> > E.g., in-tree revocation list could have type of intree_crl_entry. >> > >> > >> > > In my opinion, the MTCProof should include MTCLogEntryType, so that >> > > the relying party would know how to reconstruct MTCLogEntry. >> > > Something along the lines: >> > >> > No, this would be insecure. >> >> Why? >> >> Regards, >> Valery. >> >> > >> > >> > >> > >> > -Ilari >> > _______________________________________________ >> > Plants mailing list -- plants@ietf.org >> > To unsubscribe send an email to plants-leave@ietf.org >> >> _______________________________________________ >> Plants mailing list -- plants@ietf.org >> To unsubscribe send an email to plants-leave@ietf.org >> >> _______________________________________________ >> Plants mailing list -- plants@ietf.org >> To unsubscribe send an email to plants-leave@ietf.org > > > > -- > Astra mortemque praestare gradatim > _______________________________________________ > Plants mailing list -- plants@ietf.org > To unsubscribe send an email to plants-leave@ietf.org
- [Plants] Re: MTCLogEntry extensibility Valery Smyslov
- [Plants] Re: MTCLogEntry extensibility David Benjamin
- [Plants] Re: MTCLogEntry extensibility Valery Smyslov
- [Plants] Re: MTCLogEntry extensibility Watson Ladd
- [Plants] Re: MTCLogEntry extensibility Angel
- [Plants] Re: MTCLogEntry extensibility Valery Smyslov
- [Plants] Re: MTCLogEntry extensibility Angel
- [Plants] Re: MTCLogEntry extensibility David Benjamin
- [Plants] Re: MTCLogEntry extensibility Valery Smyslov
- [Plants] Re: MTCLogEntry extensibility Valery Smyslov
- [Plants] Re: MTCLogEntry extensibility David Benjamin