pub fn tighten_secret_files_at_startup()Expand description
启动时扫 ~/.futu-opend-rs/ 把已存在的 secret 文件 (credentials-.json
/ device-.dat) 收紧到 0600. v1.4.101 及以前版本可能创建了 0644 文件,
此 fn 是迁移路径.
由 init_auth_state (或类似入口) 在 daemon 启动早期调用. 失败 best-effort
(warn but don’t fail), 因为 chmod 失败 != 凭据本身失效.