diff --git a/apps/common/utils/crypto.py b/apps/common/utils/crypto.py index 0a0721e50..e36c85af0 100644 --- a/apps/common/utils/crypto.py +++ b/apps/common/utils/crypto.py @@ -13,6 +13,7 @@ from gmssl.sm4 import CryptSM4, SM4_ENCRYPT, SM4_DECRYPT from common.sdk.gm import piico + secret_pattern = re.compile(r'password|secret|key|token', re.IGNORECASE)