Skip to content

feat: default SM2 login encryption for username and password - #3358

Merged
Seechi-Yolo merged 2 commits into
release-2.2306.xfrom
feat/yumchina-login-sm2-encryption
Aug 4, 2026
Merged

Seechi-Yolo merged 2 commits into
release-2.2306.xfrom
feat/yumchina-login-sm2-encryption

Conversation

@LordofAvernus

Copy link
Copy Markdown
Collaborator

关联的 issue

https://github.com/actiontech/sqle-ee/issues/3062

描述你的变更

  • 登录默认启用 SM2 加密(required,零配置可自动生成密钥)
  • /v1|/v2/login 支持密文字段并拒绝明文;新增 /v1/login/encryption 公钥接口
  • 同步 CE 对等实现到 release-2.2306.x(与客户基线架构匹配)

确认项(pr提交后操作)

Tip

请在指定复审人之前,确认并完成以下事项,完成后✅


  • 我已完成自测
  • 我已记录完整日志方便进行诊断
  • 我已在关联的issue里补充了实现方案
  • 我已在关联的issue里补充了测试影响面
  • 我已确认了变更的兼容性,如果不兼容则在issue里标记 not_compatible
  • 我已确认了是否要更新文档,如果要更新则在issue里标记 need_update_doc

Made with Cursor

LordofAvernus and others added 2 commits August 4, 2026 10:49
Zero-config required mode with auto keygen; login APIs accept dual ciphertext and reject plaintext when enabled. Includes loginencryption unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
Upgrade gmsm and regenerate vendor modules for SM2/x509 support used by loginencryption.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Seechi-Yolo
Seechi-Yolo merged commit 3609da9 into release-2.2306.x Aug 4, 2026
3 checks passed
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.

2 participants