Skip to content

Commit

Permalink
[Backport 2.x] [Port from Feature/agent_framework] Work around JceMas…
Browse files Browse the repository at this point in the history
…terKey locale bug (#239) (#285)

[Port from Feature/agent_framework] Work around JceMasterKey locale bug (#239) (#269)

[Feature/agent_framework] Work around JceMasterKey locale bug (#239)

Work around JceMasterKey locale bug


(cherry picked from commit 72131bb)

Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 0bf8eb2 commit d2d2143
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ public class EncryptorUtils {

private static final String ALGORITHM = "AES";
private static final String PROVIDER = "Custom";
private static final String WRAPPING_ALGORITHM = "AES/GCM/NoPadding";
// Intentionally uppercase to work around localization bug
// https://github.com/aws/aws-encryption-sdk-java/issues/1879
private static final String WRAPPING_ALGORITHM = "AES/GCM/NOPADDING";

private ClusterService clusterService;
private Client client;
Expand Down

0 comments on commit d2d2143

Please sign in to comment.