oscerd commented on PR #31123:
URL: https://github.com/apache/camel/pull/31123#issuecomment-7305251410

   Round 2 (421f70f9b14e) addresses both reviews:
   
   - **Structure** (davsclaus): the standalone "Cryptographic algorithm 
downgrade on data formats" subsection is gone. The class is now a bullet, *The 
payload names the algorithm.*, of "Integrity and signature verification that 
can be skipped", right after the CVE-2026-85243 bullet it overlapped with.
   - **Scope** (davsclaus, gnodet-bot): the bullet is limited to algorithm 
identifiers that are not cryptographically bound to the key (the 
`EncryptionMethod` of an XML Encryption `EncryptedData`, the header of a binary 
envelope), which someone in transit can rewrite under the receiver's existing 
key. It says that an algorithm the sender picks under a fresh key is not in the 
class: the symmetric cipher of an OpenPGP message travels encrypted with the 
session key, so a legacy cipher there is the sender's choice, and the 
`camel-crypto-pgp` `algorithm` option applies only when encrypting. A CAST5 or 
3DES PGP message is therefore not a finding.
   - **Opt-in named, reference examples** (davsclaus): the opt-ins are 
`requireIntegrityProtection=false` and a non-GCM `xmlCipherAlgorithm`; the 
latter gets a row in the per-option opt-ins table (default `AES_256_GCM`, 
CAMEL-27775). `camel-pqc` is the reference example of a format that performs 
the check: the hybrid wire format v2 header carries the algorithm identifiers 
and `HybridKEM`/`HybridSignature` reject a header whose identifiers differ from 
the configured algorithms. `camel-xmlsecurity` (CAMEL-27775) is the reference 
fix.
   - **Threat table cell** (gnodet-bot): the 60-word sentence is now a short 
lead sentence plus three semicolon-separated causes, the shape the 
authentication row above it already uses.
   - **Reviewer checklist**: the "decrypt untrusted payloads" item is reworded 
to the same scope and points at CAMEL-27775.
   - **Co-authored-by** (davsclaus): the original commit has no trailer indeed. 
This round's commit carries one, so the squash commit will as well.
   
   _Claude Code on behalf of oscerd_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to