You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/06/29 05:48:00 UTC
[jira] [Updated] (CAMEL-23847) Camel-PQC: support streaming sign/verify for large payloads
[ https://issues.apache.org/jira/browse/CAMEL-23847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino updated CAMEL-23847:
-------------------------------------
Fix Version/s: 4.22.0
> Camel-PQC: support streaming sign/verify for large payloads
> -----------------------------------------------------------
>
> Key: CAMEL-23847
> URL: https://issues.apache.org/jira/browse/CAMEL-23847
> Project: Camel
> Issue Type: Improvement
> Components: camel-pqc
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Minor
> Fix For: 4.22.0
>
>
> PQCProducer sign/verify materialise the entire body as a String ({{getMandatoryBody(String.class)}}) before feeding it to {{Signature.update()}}. For large payloads (files, large messages) this loads everything into memory.
> h3. Proposal
> * When the body is an {{InputStream}} (or {{byte[]}}), feed {{Signature.update()}} in chunks from the stream instead of materialising the whole payload.
> * Works together with the byte[]/charset fix (separate issue) so binary streaming behaves correctly.
> Affected: {{components/camel-pqc}} PQCProducer (sign, verify and the hybrid variants).
> ----
> _Filed by Claude Code on behalf of Andrea Cosentino._
--
This message was sent by Atlassian Jira
(v8.20.10#820010)