zqk #63
No reviewers
Labels
No labels
优先级/P0
优先级/P1
优先级/P2
状态/就绪
状态/待办
状态/待验收
状态/进行中
类型/Story
类型/决策
类型/需求
规划/未来待办
领域/AI工作流
领域/前端
领域/动作平台
领域/基线契约
领域/数据层
领域/本机播放器
领域/设备执行
领域/账号业务
领域/资产留存
领域/迁移验收
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
miji_dev/robot-course!63
Loading…
Reference in a new issue
No description provided.
Delete branch "(deleted):zqk"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
摘要
平台运营增加「服务 / 模型配置」。用户填写的模型 API Key 不落明文:服务端用 AES-256-GCM 加密后,只把密文写入 PostgreSQL。列表、停用和默认配置都不回传 Key。课程工作区布局按效果图收成左侧课件、右侧讲稿 / 语音 / 动作,这次布局用 OpenDesign 的 MCP 对照效果图调整。
凭据保护与 Dify 保存供应商 Key 的方式同一类:认证加密后再入库,调用模型时才在服务端解密。
凭据怎么存
ROBOCOURSE_MODEL_CREDENTIAL_ENCRYPTION_KEY(Base64 的 32 字节)。platform-api和platform-worker必须使用同一把密钥。robocourse.model_credentials.ciphertext(bytea)。robocourse.platform_model_keys。页面
验证
ciphertext为二进制密文,检索不到原始 API KeyWIP: zqkto zqkPull request closed