Github user bbende commented on the issue:
https://github.com/apache/nifi/pull/834
Ok that is not working for me... If I run the tool a second time using the
same password, even without changing anything I get:
```
./nifi-toolkit-1.0.0-SNAPSHOT/bin/encrypt-config.sh -b
nifi-1.0.0-SNAPSHOT/conf/bootstrap.conf -n
nifi-1.0.0-SNAPSHOT/conf/nifi.properties
2016-08-23 14:56:51,772 WARN [main]
o.a.nifi.properties.ConfigEncryptionTool The source nifi.properties and
destination nifi.properties are identical
[nifi-1.0.0-SNAPSHOT/conf/nifi.properties] so the original will be overwritten
Enter the password:
2016-08-23 14:56:56,604 INFO [main]
o.a.nifi.properties.NiFiPropertiesLoader Loaded 118 properties from
/Users/bbende/Projects/bbende-nifi/nifi-assembly/target/nifi-1.0.0-SNAPSHOT-bin/nifi-1.0.0-SNAPSHOT/conf/nifi.properties
2016-08-23 14:56:56,609 INFO [main]
o.a.n.properties.ProtectedNiFiProperties Loaded 118 properties (including 3
protection schemes) into ProtectedNiFiProperties
Cannot load NiFiProperties from [nifi-1.0.0-SNAPSHOT/conf/nifi.properties]
usage: org.apache.nifi.properties.ConfigEncryptionTool [-b <arg>] [-h] [-k
<arg>] [-n <arg>] [-o <arg>] [-p <arg>] [-r]
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---