Skip to content

Implement getpasswd, fix up github two-factor authentication #8228

@kmsquire

Description

@kmsquire

#5252 #6668 added support for github two-factor authentication. However, the implementation is a bit ugly: in the worst case, the user has to enter her password 4 times(!).

The nicest way to handle this would probably be to implement a getpasswd (or getpass) function, which reads in a password without echoing, and then passes that onto curl via curl -K - (which reads a config file from stdin).

Metadata

Metadata

Assignees

Labels

help wantedIndicates that a maintainer wants help on an issue or pull requestneeds testsUnit tests are required for this changepackagesPackage management and loading

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions