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

ASF GitHub Bot commented on NIFI-4942:
--------------------------------------

Github user joewitt commented on the issue:

    https://github.com/apache/nifi/pull/2648
  
    @kevdoran i like the changes for travis using the igores file input to 
grep!  Left a comment to consider moving consoleOutput of rat to the top level 
pom.  And I am still seeing test issues for
    
    > [ERROR] Tests run: 130, Failures: 5, Errors: 0, Skipped: 2, Time elapsed: 
14.497 s <<< FAILURE! - in org.apache.nifi.properties.ConfigEncryptionToolTest
    [ERROR] 
testShouldMigrateFromHashedPasswordToKey(org.apache.nifi.properties.ConfigEncryptionToolTest)
  Time elapsed: 0.029 s  <<< FAILURE!
    java.lang.AssertionError: Wrong exit status expected:<0> but was:<4>
    
    [ERROR] 
testShouldMigrateFromHashedPasswordToPassword(org.apache.nifi.properties.ConfigEncryptionToolTest)
  Time elapsed: 0.391 s  <<< FAILURE!
    java.lang.AssertionError: Wrong exit status expected:<0> but was:<4>
    
    [ERROR] 
testShouldMigrateFromHashedKeyToKey(org.apache.nifi.properties.ConfigEncryptionToolTest)
  Time elapsed: 0.009 s  <<< FAILURE!
    java.lang.AssertionError: Wrong exit status expected:<0> but was:<4>
    
    [ERROR] 
testShouldMigrateFromHashedKeyToPassword(org.apache.nifi.properties.ConfigEncryptionToolTest)
  Time elapsed: 0.377 s  <<< FAILURE!
    java.lang.AssertionError: Wrong exit status expected:<0> but was:<4>
    
    [ERROR] 
testShouldReturnCurrentHashParams(org.apache.nifi.properties.ConfigEncryptionToolTest)
  Time elapsed: 0.008 s  <<< FAILURE!
    java.lang.AssertionError: Wrong exit status expected:<0> but was:<10>



> NiFi Toolkit - Allow migration of master key without previous password
> ----------------------------------------------------------------------
>
>                 Key: NIFI-4942
>                 URL: https://issues.apache.org/jira/browse/NIFI-4942
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Tools and Build
>    Affects Versions: 1.5.0
>            Reporter: Yolanda M. Davis
>            Assignee: Andy LoPresto
>            Priority: Major
>             Fix For: 1.7.0
>
>
> Currently the encryption cli in nifi toolkit requires that, in order to 
> migrate from one master key to the next, the previous master key or password 
> should be provided. In cases where the provisioning tool doesn't have the 
> previous value available this becomes challenging to provide and may be prone 
> to error. In speaking with [~alopresto] we can allow toolkit to support a 
> mode of execution such that the master key can be updated without requiring 
> the previous password. Also documentation around it's usage should be updated 
> to be clear in describing the purpose and the type of environment where this 
> command should be used (admin only access etc).



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

Reply via email to