You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andy LoPresto (JIRA)" <ji...@apache.org> on 2018/07/25 00:21:00 UTC
[jira] [Updated] (NIFI-5451) Modify NiFiGroovyTest.groovy to avoid
needing unlimited strength JCE policy
[ https://issues.apache.org/jira/browse/NIFI-5451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy LoPresto updated NIFI-5451:
--------------------------------
Labels: encryption jce_policy (was: )
> Modify NiFiGroovyTest.groovy to avoid needing unlimited strength JCE policy
> ---------------------------------------------------------------------------
>
> Key: NIFI-5451
> URL: https://issues.apache.org/jira/browse/NIFI-5451
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.8.0
> Reporter: Michael Moser
> Assignee: Andy LoPresto
> Priority: Minor
> Labels: encryption, jce_policy
>
> When running NiFiGroovyTest unit test when using a JDK that lacks unlimited strength JCE policy, the test fails.
>
> [ERROR] testInitializePropertiesShouldSetBootstrapKeyFromFile(org.apache.nifi.NiFiGroovyTest) Time elapsed: 0.121 s <<< ERROR!
> java.lang.IllegalArgumentException: There was an issue decrypting protected properties
> at org.apache.nifi.NiFiGroovyTest.testInitializePropertiesShouldSetBootstrapKeyFromFile(NiFiGroovyTest.groovy:166)
> Caused by: org.apache.nifi.properties.SensitivePropertyProtectionException: The key must be a valid hexadecimal key
> at org.apache.nifi.NiFiGroovyTest.testInitializePropertiesShouldSetBootstrapKeyFromFile(NiFiGroovyTest.groovy:166)
>
> The test uses a nifi.properties resource that does aes/gcm/256 encryption.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)