Skip to content

cargo login shows passwords in plain text #7813

Open
@jyn514

Description

Describe the problem you are trying to solve
When I run cargo login, it tells me to type in my password then shows the password in plaintext.

Describe the solution you'd like
cargo login should either show no output (like sudo) or only asterisks (like openvpn or a user login screen).

Notes
I don't like the idea that someone looking over my shoulder can see my passwords.

Metadata

Assignees

No one assigned

    Labels

    A-console-outputArea: Terminal output, colors, progress bar, etc.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-loginS-needs-team-inputStatus: Needs input from team on whether/how to proceed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions