David Handermann created NIFI-11098:
---------------------------------------
Summary: Deprecate ProcessContext encrypt and decrypt methods
Key: NIFI-11098
URL: https://issues.apache.org/jira/browse/NIFI-11098
Project: Apache NiFi
Issue Type: Improvement
Reporter: David Handermann
Assignee: David Handermann
The {{ProcessContext}} interface includes methods for encrypting and decrypting
strings using the Sensitive Properties Key and Sensitive Properties Algorithm
configured in {{nifi.properties}}. The deprecated {{GetJMSTopic}} Processor is
the only component that uses these methods.
Although these methods provide some potential conveniences, they introduce
tight coupling between framework configuration settings and Processor
implementation. Changing either the Sensitive Properties Key or Sensitive
Properties Algorithm would break reading values encrypted using previous
settings, with no programmatic way to recover the information. Requiring
strings as input also necessitates using some prior encoding strategy to handle
binary information.
In light of the minimal usage of these methods and the potential implementation
concerns, the encrypt and decrypt methods should be deprecated for removal in
subsequent major versions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)