Closed maltesander closed 2 years ago
Just a heads-up: NiFi 1.15 has been released. As far as I'm concerned the latest version is the only version we need to support at the moment.
I found the problem. It is only a single property, for which - since 1.14 - no default value is provided anymore and an explicit value needs to be given. The property is the encryption key for sensitive properties in flows. If a user would like to migrate from the 1.13 default key to an explicit key, a script needs to be run: https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#updating-the-sensitive-properties-key
If there are no sensitive properties to migrate, the new version can simply be used.
I added a hardcoded key. The key should be configurable, but making nifi secure needs more than that, and that's a seperate issue.
Update:
Nifi doesn't support the loading of the key from an environment variable directly. The official nifi docker image had this problem too, I'll use that as guidance on how to implement a solution
When implementing up and downgrades (From 1.13.2 -> 1.14.0) i got an error with NiFi.
@Jimvin mentioned that they need encryption out of the box.
Needs investigation.