bcgit / bc-java

Bouncy Castle Java Distribution (Mirror)
https://www.bouncycastle.org/java.html
MIT License
2.29k stars 1.13k forks source link

Missing resource bundle in the bcjmail-jdk18on artifact since version 1.78 #1660

Open vegamime opened 4 months ago

vegamime commented 4 months ago

We have identified that since version 1.78, the resource bundle 'org.bouncycastle.mail.smime.validator.SignedMailValidatorMessages' is missing from the bcjmail-jdk18on artifact (but not from bcmail-jdk18on) .

This resource bundle is required by the class 'org.bouncycastle.mail.smime.validator.SignedMailValidator'.

Reading an entry from the ErrorBundle results in an exception. Example Stacktrace: org.bouncycastle.pkix.util.MissingEntryException: Can't find entry SignedMailValidator.certPathInvalid.details in resource file org.bouncycastle.mail.smime.validator.SignedMailValidatorMessages. at org.bouncycastle.pkix.util.LocalizedMessage.getEntry(Unknown Source) at org.bouncycastle.pkix.util.ErrorBundle.getDetail(Unknown Source)

Could you please make this resource bundle available again?

Affected versions: 1.78 and 1.78.1

vegamime commented 2 months ago

Upon reviewing the current SNAPSHOT version of bcjmail-jdk18on-1.79, it has been discovered that the mentioned resource files - SignedMailValidatorMessages.properties and _SignedMailValidatorMessagesde.properties - are currently missing. Could you please provide them again? Thank you in advance!