[
https://issues.apache.org/jira/browse/NIFI-15359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18047059#comment-18047059
]
ASF subversion and git services commented on NIFI-15359:
--------------------------------------------------------
Commit 3c52bed1b42a2386eae5fd56a9dc432c6ea8fe53 in nifi's branch
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3c52bed1b4 ]
NIFI-15359 Upgraded S3 Encryption Client from 3.6.0 to 4.0.0 (#10659)
- Added Commitment Policy property with secure default value requiring
key-committing algorithm
Signed-off-by: David Handermann <[email protected]>
> Upgrade S3 Encryption Client to 4.0.0
> -------------------------------------
>
> Key: NIFI-15359
> URL: https://issues.apache.org/jira/browse/NIFI-15359
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Upgrade the S3 Encryption Client to latest 4.0.0.
> It includes a breaking change as explained here:
> [https://github.com/aws/amazon-s3-encryption-client-java/releases/tag/v4.0.0]
> {code:java}
> builderV4() now defaults to commitmentPolicy
> (REQUIRE_ENCRYPT_REQUIRE_DECRYPT) and encryptionAlgorithm
> (ALG_AES_256_GCM_HKDF_SHA512_COMMIT_KEY) {code}
> It means that we may be in a situation where we could not decrypt existing
> data with FetchS3 because of the new default.
> Proposition is to expose a new property for the user to select the commitment
> policy but to still apply the new default of the client given the security
> posture that it implies.
> The recommendation for the user, would be to set the property with:
> ||Scenario||Recommended Policy||
> |New deployment (no legacy data)|Require Encrypt Require Decrypt (default)|
> |Migration period (need to read legacy + write new)|Require Encrypt Allow
> Decrypt|
> |Read-only access to legacy data|Forbid Encrypt Allow Decrypt|
> This breaking change would be documented in the migration guide with guidance
> on what value to select for this new property if needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)