Skip to content

Commit

Permalink
[Port from Feature/agent_framework] Work around JceMasterKey locale b…
Browse files Browse the repository at this point in the history
…ug (#239) (#269)

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

Work around JceMasterKey locale bug

Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis authored Dec 13, 2023
1 parent 59afca7 commit 72131bb
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 72131bb

Please sign in to comment.