[ 
https://issues.apache.org/jira/browse/CAMEL-27548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152089#comment-18152089
 ] 

Guillaume Nodet commented on CAMEL-27548:
-----------------------------------------

This issue is being investigated by a coding agent (on behalf of gnodet).

Triage rationale: Well-defined follow-up to CAMEL-25803. PQCDataFormat 
currently writes wire format v1 while HybridSignature and HybridKEM were 
already migrated to v2 (self-describing 8-byte header with magic bytes 0x50 
0x51, version, format type, 16-bit algorithm IDs). The v2 header format and 
PQCAlgorithmId enum are already in place with the KEM and symmetric algorithm 
IDs needed. Work: add v2 header emission in marshal(), auto-detect v1/v2 in 
unmarshal() for backward compat, update tests and docs.

_Note: This comment was generated by an AI coding agent and requires manual 
verification._

> camel-pqc - migrate PQC DataFormat to hybrid wire format v2
> -----------------------------------------------------------
>
>                 Key: CAMEL-27548
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27548
>             Project: Camel
>          Issue Type: Task
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>              Labels: camel-pqc
>             Fix For: 4.25.0
>
>
> The PQCDataFormat currently writes and reads the v1 wire format ([int 
> len][encap][nonce][ct]). Now that the hybrid signature and hybrid KEM 
> utilities emit v2 (magic + version + algorithm IDs), the data format should 
> be migrated to v2 as well, so all three output types share the same 
> self-describing 8-byte header.
> This is a follow-up to CAMEL-25803, which implemented v2 for HybridSignature 
> and HybridKEM but left PQCDataFormat on v1 to keep the scope manageable.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to