[ 
https://issues.apache.org/jira/browse/NIFI-11098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-11098:
----------------------------------
    Fix Version/s: 1.20.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 1.20.0
>
>          Time Spent: 20m
>  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)

Reply via email to