Skip to content

Backport the fix for EncryptionOperationNotPossibleException

Julien Plissonneau Duquène requested to merge fix-1100227 into master

Not a direct cherry pick, but as finally fixed by: https://github.com/bcgit/bc-java/commit/66f21aaa43a6bfb2ca20dea0dea983dccf38a03d

https://github.com/bcgit/bc-java/issues/1985#issuecomment-2692447133:

BC 1.81 (beta) Fix: In BC 1.81 (beta), compatibility with older versions (e.g., 1.79) was restored. If a 0-byte IV is provided, BC internally generates a PKCS12-derived IV from the password and salt, mimicking pre-1.80 behavior.

Signed-off-by: Julien Plissonneau Duquène sre4ever@free.fr Closes: 1100227

Merge request reports

Loading