[
https://issues.apache.org/jira/browse/NIFI-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15378154#comment-15378154
]
Andy LoPresto commented on NIFI-1157:
-------------------------------------
Note for migration guide:
The salt-less {{getCipher}} method contract was removed from
{{PBECipherProvider}} interface and the method body was removed from all
implementations. Only two of these implementations were marked as
{{@Deprecated}} (in {{ScryptCipherProvider}} and {{BcryptCipherProvider}} as
they require a generated salt meeting the requirements of the KDF), so this may
cause unexpected compatibility problems for calling code. The salt-less
invocations of this method in the other providers
({{NiFiLegacyCipherProvider}}, {{OpenSSLPKCS5CipherProvider}}, and
{{PBKDF2CipherProvider}}) were simply convenience methods which created an
empty {{byte[ 0 ]}} salt and invoked the actual logic. However, they were not
marked as deprecated and so users may be unaware of the change. This should not
cause significant issues, as the solution is to add a line {{byte[] salt = new
byte[ 0 ];}} above the method invocation and pass the empty salt.
> Remove deprecated classes and methods
> -------------------------------------
>
> Key: NIFI-1157
> URL: https://issues.apache.org/jira/browse/NIFI-1157
> Project: Apache NiFi
> Issue Type: Task
> Reporter: Tony Kurc
> Assignee: Joseph Witt
> Priority: Minor
> Fix For: 1.0.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)