[
https://issues.apache.org/jira/browse/NIFI-1467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317179#comment-17317179
]
David Handermann edited comment on NIFI-1467 at 4/8/21, 1:07 PM:
-----------------------------------------------------------------
Resolved with methods added to BcryptCipherProvider as part of work under
NIFI-7122 and NIFI-7268.
was (Author: exceptionfactory):
Resolved with methods added to BcryptCipherProvider as part of work under
NIFI-7122 and NIFI-7638.
> Provide Bcrypt salt generation code
> -----------------------------------
>
> Key: NIFI-1467
> URL: https://issues.apache.org/jira/browse/NIFI-1467
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 0.5.0
> Reporter: Andy LoPresto
> Assignee: Andy LoPresto
> Priority: Minor
> Labels: encryption, security
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Currently, the {{ScryptCipherProvider}} can accept both formatted salt in the
> mcrypt format {{$s0$e0101$ABCDEFGHIJKLMNOPQRSTUV}} or raw salt {{0x01 23 45
> 67 89 AB CD EF FE DC BA 98 76 54 32 10}} format and combine that with the
> instance parameters {{N}}, {{r}}, and {{p}} to return a complete salt. At the
> same time, due to inconsistency in the {{Base64}} formatting,
> {{BcryptCipherProvider}} can only accept fully formatted salts, and cannot
> generate a complete salt from raw input.
> Use the custom {{Base64}} encoding as provided in {{BCrypt.java}} to resolve
> this issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)