davsclaus opened a new issue, #3374:
URL: https://github.com/apache/camel-kamelets/issues/3374

   Files exchanged with partners over sftp, ftp, smb or object stores are often 
encrypted with OpenPGP. The catalog has no Kamelet for that step. Two actions 
on the Camel `pgp` data format (camel-crypto-pgp) would add it:
   
   - **`pgp-encrypt-action`:** encrypts the body for the public key of a 
recipient, and can also sign it. The output is armored text or binary.
   - **`pgp-decrypt-action`:** decrypts the body with a secret key and its 
passphrase, and can check the signature against a public key. A message that 
cannot be decrypted, or whose signature is wrong, fails.
   - **Keys:** a key ring given as a resource (`file:` or `classpath:`) or as 
text. The passphrase is a credential. The key user id names which key to use.
   - **Security:** the keys and the passphrase come from properties, never from 
the message, and the `CamelPgp*` headers of an incoming message cannot choose 
another key.
   - **Citrus tests:** a round trip (encrypt, then decrypt, gives the original 
bytes), a signed message whose signature is checked, and two error cases: the 
wrong key, and a tampered message.
   
   Both Kamelets are Preview.
   
   _Claude Code on behalf of Claus Ibsen_
   


-- 
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