Skip to main content

2025.2.1 to 2025.2.2

1. Bouncy Castle Library Update

What changed

The org.bouncycastle library dependency has been updated from bcmail-jdk15on 1.63 to bcmail-jdk18on 1.81. This update changes the behavior of line separators in generated emails (specifically regarding OpenPGP). The separators have changed from LF (Line Feed) to CRLF (Carriage Return + Line Feed).

Why it matters

This change aligns the application with the RFC 4880 standard (Section 5.9). Previous versions of the Bouncy Castle library(prior to 1.74) contained a bug where line separators were incorrectly generated as LF. The updated version corrects this to use the standard-compliant CRLF.

Review any automated tests or email processing logic that strictly validates line endings or relies on exact byte-matching (e.g., hashing) of the email body. Ensure these systems can handle CRLF line endings. Standard email clients are generally not affected by this change.