Would it be helpful to chat about this? I suspect that some of this may fall to the 8725bis draft?
I'm happy to set up a call, if that helps? The I-D submission cut-off is 2 Nov.... Deb On Mon, Oct 19, 2026 at 4:50 PM Mahesh Jethanandani via Datatracker < [email protected]> wrote: > Mahesh Jethanandani has entered the following ballot position for > draft-ietf-jose-deprecate-none-rsa15-07: Discuss > > When responding, please keep the subject line intact and reply to all > email addresses included in the To and CC lines. (Feel free to cut this > introductory paragraph, however.) > > > Please refer to > https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ > for more information about how to handle DISCUSS and COMMENT positions. > > > The document, along with other ballot positions, can be found here: > https://datatracker.ietf.org/doc/draft-ietf-jose-deprecate-none-rsa15/ > > > > ---------------------------------------------------------------------- > DISCUSS: > ---------------------------------------------------------------------- > > Section 5, first paragraph: > > 197 > the "none" algorithm for JWS, and "RSA1_5" for JWE. JOSE library > 198 > developers SHOULD deprecate support for these algorithms. > 199 > Application developers MUST disable support for these algorithms > by > 200 > default. > > 205 > New > 206 > specifications building on top of JOSE MUST NOT allow the use of > 207 > either algorithm. > > The document updates only RFC 7518. However, both algorithms are also > mandatory to implement under RFC 7519 (JWT), Section 8. RFC 7519 is the > most widely deployed consumer of JOSE, and it isn't mentioned anywhere > in the draft: > > > Of the signature and MAC algorithms specified in JSON Web Algorithms > > [JWA], only HMAC SHA-256 ("HS256") and "none" MUST be implemented by > > conforming JWT implementations. > > > If an implementation > > provides encryption capabilities, of the encryption algorithms > > specified in [JWA], only RSAES-PKCS1-v1_5 with 2048-bit keys > > ("RSA1_5"), AES Key Wrap with 128- and 256-bit keys ("A128KW" and > > "A256KW"), and the composite authenticated encryption algorithm using > > AES-CBC and HMAC SHA-2 ("A128CBC-HS256" and "A256CBC-HS512") MUST be > > implemented by conforming implementations. > > RFC 8725 updates RFC 7519, but it leaves Section 8 alone. So once this > document is approved, a JWT library has two conflicting instructions. It > MUST implement "none" and "RSA1_5" to conform to RFC 7519. Under this > document, it SHOULD deprecate both, and they are marked Deprecated in > the registry. > > I would like the document to address this directly. Either: > > - add RFC 7519 to the Updates header and state that "none" and "RSA1_5" > are no longer mandatory to implement for conforming JWT > implementations; or > - explain why RFC 7519 Section 8 is intentionally left as is, and how a > JWT library is meant to reconcile the two requirements. > > Relatedly, the draft never cites RFC 8725 (BCP 225). That document already > advises avoiding RSA-PKCS1 v1.5 encryption, and in Section 3.2 calls > "none" "perfectly acceptable" when the JWT is protected end-to-end by > TLS. Ketan raised the Section 3.2 tension. I'd add that whichever way > RFC 7519 is handled, the reader should be pointed at RFC 8725, which is > the JWT guidance they're most likely to have in hand. > > > ---------------------------------------------------------------------- > COMMENT: > ---------------------------------------------------------------------- > > Section 3, OpenID Connect example: > > 172 > of these are in OpenID Connect [OpenID.Core]: (1) securing > unsigned > 173 > ID Tokens via transmission over TLS in Section 3.1.3.7 and (2) the > > I read the thread that produced this text. Aaron and Mike preferred > Section 3.1.3.7 over Section 2, and I see why. Even so, Section 3.1.3.7 > (item 6) doesn't mention unsigned tokens or "none". It lets the client > use TLS server validation "in place of checking the token signature", > whether or not the token is signed. The text that actually allows "alg": > "none" for ID Tokens is in Section 2 ("ID Tokens MUST NOT use none as > the alg value unless..."). Citing both would make the sentence accurate > without reopening the compromise. > > --- > > Section 7.2, applicability of the new criteria: > > 239 > in Section 7.1 of [RFC7518] are updated to add the following > review > 240 > criteria. As with the existing criteria in Section 7.1 of > [RFC7518], > 241 > these criteria do not apply to algorithms being registered as > 242 > Deprecated or Prohibited. > > RFC 7518 Section 7.1 also routes changes to an existing entry's > implementation requirements through the DEs, for example, from Optional to > Recommended. Do the new EUF-CMA/IND-CCA2/AEAD criteria apply when the DEs > review such a change, or only to new registrations? One sentence would > remove the ambiguity. > > ---------------------------------------------------------------------- > NIT > ---------------------------------------------------------------------- > > All comments below are about very minor potential issues that you may > choose to address in some way - or ignore - as you see fit. Some were > flagged by automated tools (via > https://github.com/larseggert/ietf-reviewtool), so there will likely > be some false positives. There is no need to let me know what you did > with these suggestions. > > Section 3, CVE expansion (also the [CVE] reference title, line 297): > > 133 > Vulnerability Enumeration [CVE] identifier, and a Common > > s/Common Vulnerability Enumeration/Common Vulnerabilities and Exposures/ > > The program now lives at https://www.cve.org; the reference could be > updated accordingly. > > --- > > Section 3, undated count: > > 129 > implementations mistakenly accepting the "none" algorithm. At the > 130 > time of writing it lists 17 reports, many of which have high > impact > > "At the time of writing" won't age well, and the [howmanydays] reference > is dated 25 September 2023, which isn't when the count was taken. Give > the date the count was taken, e.g. "As of <month year>, it lists 17 > reports". > > --- > > Section 4, first sentence: > > 181 > The "RSA1_5" algorithm implements RSA encryption using PKCS#1 > version > 182 > 1.5 padding Section 7.2 of [RFC8017]. This padding mode has long > > s/padding Section 7.2 of [RFC8017]/padding (Section 7.2 of [RFC8017])/ > > --- > > Section 4, Bleichenbacher: > > 183 > been known to have security issues, since at least > Bleichenbacher's > 184 > attack in 1998. > > Consider adding a citation, either the CRYPTO '98 paper or RFC 3218, > which RFC 7516 Section 11.4 already points to. > > --- > > Section 7.2, third bullet, textbook section: > > 264 > associated data (AEAD) are to be considered for approval. See > 265 > [RFC5116], and textbooks such as [BonehShoup] (Section 9.1), > for > 266 > the definition of AEAD security. > > In v0.6, Section 9.1 defines authenticated encryption without associated > data. AEAD is Section 9.5 ("Nonce-based authenticated encryption with > associated data"). > > s/(Section 9.1)/(Section 9.5)/ > > > > _______________________________________________ > iesg mailing list -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ jose mailing list -- [email protected] To unsubscribe send an email to [email protected]
