v1.2.0: 安全加固 + 窗口可拉伸#1
Open
KerryChia wants to merge 1 commit into
Open
Conversation
安全加固: - 启用 CSP 内容安全策略 - API Key 与 Usage Token 改用 Windows DPAPI 加密存储 - 关闭 withGlobalTauri,阻止外部网页访问 Tauri IPC - 登录同步 JS 注入增加域名白名单守卫,移除 __TAURI__ 通道 - 登录窗口添加 on_navigation 导航限制 - 拆分 capabilities:login-sync 仅保留最小权限 - 输入校验:API Key 长度上限 256 + 格式警告,Usage Token 长度上限 4096 功能改进: - 主窗口改为可拉伸调整大小(340x500 ~ 600x1200)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
安全加固:
功能改进: