[
https://issues.apache.org/jira/browse/NIFI-11098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681053#comment-17681053
]
ASF subversion and git services commented on NIFI-11098:
--------------------------------------------------------
Commit d60f541d7edc89b968a932109be3c088b3d1bcf8 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d60f541d7e ]
NIFI-11098 Deprecated ProcessContext encrypt and decrypt methods
Signed-off-by: Pierre Villard <[email protected]>
This closes #6891.
> 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
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)