You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by gi...@apache.org on 2026/09/05 06:00:51 UTC

(seatunnel) branch gh-readonly-queue/dev/pr-12073-7df6c9467a52bb3da95ee6ef77de9f000dc0da6d created (now 97d461bc07)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a change to branch gh-readonly-queue/dev/pr-12073-7df6c9467a52bb3da95ee6ef77de9f000dc0da6d
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


      at 97d461bc07 [Improve][Core] Warn that the base64 config shade does not encrypt anything (#12073)

This branch includes the following new commits:

     new 97d461bc07 [Improve][Core] Warn that the base64 config shade does not encrypt anything (#12073)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(seatunnel) 01/01: [Improve][Core] Warn that the base64 config shade does not encrypt anything (#12073)

Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/dev/pr-12073-7df6c9467a52bb3da95ee6ef77de9f000dc0da6d
in repository https://gitbox.apache.org/repos/asf/seatunnel.git

commit 97d461bc0773399d632fd078735736ecd44f5f0b
Author: SEZ <20...@users.noreply.github.com>
AuthorDate: Sat Sep 5 06:00:28 2026 +0000

    [Improve][Core] Warn that the base64 config shade does not encrypt anything (#12073)
---
 .../org/apache/seatunnel/core/starter/utils/ConfigShadeUtils.java   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/utils/ConfigShadeUtils.java b/seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/utils/ConfigShadeUtils.java
index 40ce48fcce..52fa94c6a1 100644
--- a/seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/utils/ConfigShadeUtils.java
+++ b/seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/utils/ConfigShadeUtils.java
@@ -168,6 +168,12 @@ public final class ConfigShadeUtils {
                 "Miss <Sink> config! Please check the config file.");
         try {
             ConfigShade configShade = CONFIG_SHADES.getOrDefault(identifier, DEFAULT_SHADE);
+            if (Base64ConfigShade.IDENTIFIER.equals(identifier)) {
+                log.warn(
+                        "Config shade '{}' encodes sensitive options, it does not encrypt them:"
+                                + " anyone who reads the config can decode the values.",
+                        Base64ConfigShade.IDENTIFIER);
+            }
             // call open method before the encrypt/decrypt
             configShade.open(props);