8000 feat: add dsn config crypto by feitianbubu · Pull Request #1118 · QuantumNous/new-api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add dsn config crypto #1118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

feitianbubu
Copy link
Contributor

增强生产环境配置安全, 数据库密码支持加密配置

  1. 兼容原来明文的配置
  2. 如果密码为ENC(xxxxx)格式, 则进行解密
  3. 执行go run tools/pwd.go则入密文可生成明文

@feitianbubu feitianbubu force-pushed the add-dsn-pwd-crypto branch from 7021f8d to 9bb06a6 Compare May 29, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0