Repository navigation
dsh-api3d 0.2.6
0.2.6
修复:密钥下拉不可用 —— 改由宿主代取
- DSH 的凭据 Remote 是单向的:
describe只回答「这个引用名配没配」,浏览器半永远读不回历史密钥值 —— 所以 0.2.4/0.2.5 里那个「历史密钥下拉」实际上一直是空的。 - 现在改由宿主从凭据库读出最近 5 把,只把
api3d-…cdef这样的打码标签发给页面;选中只回一个序号keyIndex,查询/导入时宿主按序号取真实值。明文全程不出宿主进程。 - 顺带修掉一个真机 bug:选中历史条目后输入框是空的,原来的判空逻辑把「确认并查询模型」锁死,点了没反应。
Fix: the key dropdown was never actually usable
- DSH's credential remote is one-way, so the browser half could never read stored keys; the dropdown added in 0.2.4/0.2.5 was always empty. The host half now reads the last five keys and sends masked labels only; a pick sends back an index, and the plaintext never leaves the host process.
- Picking a history entry no longer leaves the confirm button disabled.
npm i dsh-api3d@0.2.6 | 15 files | 330.2 kB packed | shasum 6e3aa743d882e070a551be18f9468bed335ebf44