lhotari commented on PR #20631:
URL: https://github.com/apache/pulsar/pull/20631#issuecomment-1602286505

   It seems that some code changes are required:
   > For at least some ECIES variants (e.g. when using CBC) there is an issue 
with potential malleability of a nonce (implying silent malleability of the 
plaintext) that must be sent alongside the ciphertext but is outside the IES 
integrity check. For this reason the automatic generation of nonces with IED is 
now disabled and they have to be passed in using an IESParameterSpec. The 
current advice is to agree on a nonce between parties and then rely on the use 
of the ephemeral key component to allow the nonce (rather the so called nonce) 
usage to be extended.
   
   https://www.bouncycastle.org/releasenotes.html , changes in 1.72


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