#112 Update login command to read password from stdin
closedmedium·sable·2026-03-02 23:37· closed 2026-03-02 23:37·enhancement·Phase 1: CLI Foundation
Comments — 1
sablenote2026-03-02 23:37
Password should not be passed as a CLI argument (visible in shell history, ps output). Read from stdin instead — prompt interactively if terminal, or accept piped input. Use rpassword crate for hidden terminal input. Affects crates/opake-cli/src/main.rs: remove --password arg from Login variant, add stdin read in the login handler.
Password should not be passed as a CLI argument (visible in shell history, ps output). Read from stdin instead — prompt interactively if terminal, or accept piped input. Use rpassword crate for hidden terminal input. Affects crates/opake-cli/src/main.rs: remove --password arg from Login variant, add stdin read in the login handler.