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

Paul Grey commented on NIFI-8465:
---------------------------------

https://github.com/apache/nifi/blob/9f45b48866eb87737ff370dd55b37de768f4d754/nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/util/crypto/CipherUtility.java#L273

> Correct intermittent failures in PasswordBasedEncryptorGroovyTest
> -----------------------------------------------------------------
>
>                 Key: NIFI-8465
>                 URL: https://issues.apache.org/jira/browse/NIFI-8465
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: David Handermann
>            Assignee: Paul Grey
>            Priority: Minor
>              Labels: encryption, security
>
> {{PasswordBasedEncryptorGroovyTest}} can fail intermittently during automated 
> builds.  A recent failure occurred when comparing encrypted and plaintext 
> results:
> {quote}Error:  Failures: 
> Error:    
> PasswordBasedEncryptorGroovyTest.testBcryptDecryptShouldSupportLegacyKeyDerivationProcess:445
>  assert recovered == PLAINTEXT{quote}
> The test class should be evaluated to determine the source of the problem and 
> refactored to avoid potential failures.  It is also worth evaluating the 
> opportunity to refactor the test into more discrete test classes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to