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/08/28 16:45:00 UTC

[jira] [Commented] (NIFI-5558) NiFi build on master fails due to decryption issue

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

Andy LoPresto commented on NIFI-5558:
-------------------------------------

I am guessing this comes from not having the JCE Unlimited Strength Jurisdiction policies installed. I will reproduce and if so, rewrite the tests to comply with the limited strength crypto policy. 

> NiFi build on master fails due to decryption issue
> --------------------------------------------------
>
>                 Key: NIFI-5558
>                 URL: https://issues.apache.org/jira/browse/NIFI-5558
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>         Environment: Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T15:39:06-04:00)
> Java version: 1.8.0_141, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
>            Reporter: Joseph Witt
>            Priority: Major
>
> ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.39 s <<< FAILURE! - in org.apache.nifi.cluster.coordination.flow.PopularVoteFlowElectionFactoryBeanTest
> [ERROR] testGetObjectShouldPopulateDefaultSensitivePropsKeyIfEmpty(org.apache.nifi.cluster.coordination.flow.PopularVoteFlowElectionFactoryBeanTest)  Time elapsed: 1.318 s  <<< ERROR!
> org.apache.nifi.encrypt.EncryptionException: org.apache.nifi.encrypt.EncryptionException: Could not decrypt sensitive value
> 	at org.apache.nifi.cluster.coordination.flow.PopularVoteFlowElectionFactoryBeanTest.testGetObjectShouldPopulateDefaultSensitivePropsKeyIfEmpty(PopularVoteFlowElectionFactoryBeanTest.groovy:82)
> Caused by: org.apache.nifi.encrypt.EncryptionException: Could not decrypt sensitive value
> 	at org.apache.nifi.cluster.coordination.flow.PopularVoteFlowElectionFactoryBeanTest.testGetObjectShouldPopulateDefaultSensitivePropsKeyIfEmpty(PopularVoteFlowElectionFactoryBeanTest.groovy:82)
> Caused by: javax.crypto.BadPaddingException: pad block corrupted
> 	at org.apache.nifi.cluster.coordination.flow.PopularVoteFlowElectionFactoryBeanTest.testGetObjectShouldPopulateDefaultSensitivePropsKeyIfEmpty(PopularVoteFlowElectionFactoryBeanTest.groovy:82)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)