Skip to content

Commit

Permalink
Work around JceMasterKey locale bug
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <widdis@gmail.com>
  • Loading branch information
dbwiddis committed Dec 2, 2023
1 parent ef65b3a commit c848beb
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 c848beb

Please sign in to comment.