[ 
https://issues.apache.org/jira/browse/CAMEL-27450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-27450.
---------------------------------
    Resolution: Fixed

Merged to main in https://github.com/apache/camel/pull/30660 (228312545f).

_Claude Code on behalf of davsclaus_

> camel-crypto-pgp - use AES-256 and SHA-256 by default, instead of CAST5 and 
> SHA-1
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-27450
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27450
>             Project: Camel
>          Issue Type: Improvement
>          Components:  camel-crypto
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> The {{pgp}} data format encrypts with CAST5 by default ({{algorithm}}) and 
> hashes signatures with SHA-1 ({{hashAlgorithm}}). Both are outdated: GnuPG 
> and RFC 9580 use AES and SHA-256 or better.
> Expected: AES-256 and SHA-256 as the defaults, with an upgrade-guide note (a 
> receiver that only supports CAST5 or SHA-1 would need the old values set). 
> The {{pgp-encrypt-action}} Kamelet (apache/camel-kamelets#3382) already sets 
> AES-256 and SHA-256 in its template.
> Found while adding the pgp-encrypt-action and pgp-decrypt-action Kamelets 
> (apache/camel-kamelets#3374, 2026-11-23).



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

Reply via email to