Leadaxe:LxBox 的 TLS 模型已带齐内核接受的全部字段,JSON 编辑器不再丢 certificate

在 LxBox 议题 140 中,Leadaxe 表示该问题已在 v2.24.4 及以后版本修复(当前版本 v2.25.1):TLS 模型现在承载内核接受的全部 TLS 字段,certificate 与 certificate_path 在 JSON 服务器编辑器里往返保存不再丢失,对 naive 以及其他 TLS 协议同样生效;透传字段按到达时的形式存储与输出,不含新字段的节点输出与之前逐字节一致;另外新增了一道防护测试,让每个协议的每个字段都经过「body → model → body」,只要有字段在途中丢失就失败。他请报告者升级到最新版,若在 2.25.1 或更高版本保存时仍会丢掉 certificate,可带上能复现的 JSON 重开该议题。

作者原文

Thanks for the precise report.

Fixed in v2.24.4 and later (current release is v2.25.1). The TLS model now carries every TLS field the core accepts, so certificate and certificate_path survive a round trip through the JSON server editor for naive (and the other TLS protocols). Pass-through fields are stored and emitted in the same form they arrived in; nodes without the new fields are emitted byte-for-byte as before. A guard test now runs every field of every protocol through "body → model → body" and fails if anything is lost on the way.

Please update to the latest version. If the editor still drops certificate on save in 2.25.1 or newer, feel free to reopen this issue with the JSON that reproduces it.