Repository navigation
加固 SSH 安全与连接生命周期,优化前端加载和交互 - #1
Merged
Merged
Conversation
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.
变更
安全与数据可靠性
0600保存;旧默认密钥加密的凭据在启动时事务性迁移,自定义密钥保持不变。make clean不再删除数据库,数据重置改为显式确认命令。连接与文件传输
前端与工程化
外观精修(保留原有风格)
>_标识、五种主题色和深浅主题,不改变终端工作流。构建体积
包含静态共享依赖的首屏 JavaScript,使用 Vite 构建报告口径:
首屏 gzip JS 约减少 49.5%。主要收益是延后非首屏代码,不代表页面加载时间同比减少。
验证
go vet ./...go test -race -count=1 ./...,含真实协议的本地 SSH/SFTP 测试端点npm audit:0 vulnerabilitiesmake clean保留数据库/密钥,未确认的数据重置被拒绝升级注意
OPSUP_ENCRYPTION_KEY必须继续使用原值。未修改或部署线上数据。完整操作步骤见 README / README_CN。
Tag
@indentto continue the conversation here.