Skip to content

Bouncycastle 1.86 - #130

Open
ellert wants to merge 2 commits into
eu-emi:masterfrom
ellert:bc-1.86
Open

ellert wants to merge 2 commits into
eu-emi:masterfrom
ellert:bc-1.86

Conversation

@ellert

@ellert ellert commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

The system provided bouncycastle in Debian was recently updated to version 1.86.

This triggered the need to do some minor changes in the canl-java package build for Debian. This PR contains those changes.

  • The PKIXPolicyNode class was moved in bouncycastle 1.86
    incompatible types: org.bouncycastle.jcajce.PKIXPolicyNode cannot be converted to org.bouncycastle.jce.provider.PKIXPolicyNode

  • Bouncycastle 1.86 enforces that country codes are exaxtly 2 characters
    java.lang.IllegalArgumentException: country code attribute 2.5.4.6 must be exactly 2 characters per ISO 3166-1 / X.520, got 3: 'XYZ'

incompatible types: org.bouncycastle.jcajce.PKIXPolicyNode cannot be
converted to org.bouncycastle.jce.provider.PKIXPolicyNode
java.lang.IllegalArgumentException: country code attribute 2.5.4.6
must be exactly 2 characters per ISO 3166-1 / X.520, got 3: 'XYZ'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant