pub async fn set_login_pwd(account: &str, from_stdin: bool) -> Result<()>Expand description
futucli set-login-pwd --account <id> —— 把登录密码写入 OS keychain(v1.4.18+)。
每个账号一条独立条目(username = login-password.<account>),避免多账号
互相覆盖。futu-opend 启动时如果没传 --login-pwd / FUTU_PWD,会从
这里读取对应 account 的密码。
macOS 发布包的三个 binary 使用不同 ad-hoc signing identity,因此该命令 在读取密码前 fail-closed;Linux / Windows 继续使用原生 credential store。