[ 
https://issues.apache.org/jira/browse/NIFI-16499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18131103#comment-18131103
 ] 

ASF subversion and git services commented on NIFI-16499:
--------------------------------------------------------

Commit b8487608eba1eaa35ead137a8dd88709bff2ae6b in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b8487608eba ]

NIFI-16499 Fixed tests for Encrypted Private Keys on Java 25.0.5 (#11843)

- Added EncryptedPrivateKeyInfoEncoder with manual DER encoding to avoid 
behavior changes from JDK-8343232

> StandardPrivateKeyReaderTest.testReadPrivateKey Fails on Java 25.0.5
> --------------------------------------------------------------------
>
>                 Key: NIFI-16499
>                 URL: https://issues.apache.org/jira/browse/NIFI-16499
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Unit tests for the {{StandardPrivateKeyReader}} started failing follow recent 
> updates to GitHub Runners for Java 25.0.5. The failures are limited in scope 
> to test classes and related to 
> [JDK-8343232|https://bugs.openjdk.org/browse/JDK-8343232] changes in 
> Algorithm Parameter parsing and serialization that tests relied on to 
> construct temporary Private Keys.
> {noformat}
> StandardPrivateKeyReaderTest.testReadPrivateKey:162->readPrivateKey:222 ยป 
> PrivateKey Decrypting Private Key with [AES-128-CBC] failed
> {noformat}
> The test code should be adjusted to construct Private Keys in a way that 
> works for both Java 25.0.5 and earlier versions.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to