diff --git a/src/main/java/org/opensearch/flowframework/util/EncryptorUtils.java b/src/main/java/org/opensearch/flowframework/util/EncryptorUtils.java index 70b30b5cc..69d6b9f3c 100644 --- a/src/main/java/org/opensearch/flowframework/util/EncryptorUtils.java +++ b/src/main/java/org/opensearch/flowframework/util/EncryptorUtils.java @@ -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;