Github user alopresto commented on the issue:
https://github.com/apache/nifi/pull/1302
I fixed a small checkstyle issue but otherwise this was great. Verified
that running with an encrypted `nifi.properties` file worked and the master key
value was read from `conf/bootstrap.conf` to a `sensitive.key` file and then
properly cleaned up after startup.
```
2017-04-25 00:28:32,494 INFO [main] org.apache.nifi.NiFi Removing/unlinking
file:
/Users/alopresto/Workspace/nifi/nifi-assembly/target/nifi-1.2.0-SNAPSHOT-bin/nifi-1.2.0-SNAPSHOT/./conf/sensitive.key
2017-04-25 00:28:32,494 INFO [main] org.apache.nifi.NiFi Read property
protection key from key file provided by bootstrap process
2017-04-25 00:28:32,635 INFO [main]
o.a.nifi.properties.NiFiPropertiesLoader Determined default nifi.properties
path to be
'/Users/alopresto/Workspace/nifi/nifi-assembly/target/nifi-1.2.0-SNAPSHOT-bin/nifi-1.2.0-SNAPSHOT/./conf/nifi.properties'
2017-04-25 00:28:32,638 INFO [main]
o.a.nifi.properties.NiFiPropertiesLoader Loaded 119 properties from
/Users/alopresto/Workspace/nifi/nifi-assembly/target/nifi-1.2.0-SNAPSHOT-bin/nifi-1.2.0-SNAPSHOT/./conf/nifi.properties
2017-04-25 00:28:33,296 INFO [main]
o.a.n.properties.ProtectedNiFiProperties There are 1 protected properties of 4
sensitive properties (25%)
2017-04-25 00:28:33,301 INFO [main] o.a.n.p.AESSensitivePropertyProvider
AES Sensitive Property Provider decrypted a sensitive value successfully
2017-04-25 00:28:33,302 INFO [main] org.apache.nifi.NiFi Loaded 118
properties
```
---
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.
---