Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to read username/password from file #781

Merged
merged 4 commits into from Jun 13, 2023
Merged

Add option to read username/password from file #781

merged 4 commits into from Jun 13, 2023

Conversation

ckastner
Copy link

This fixes #575 by adding an option --authfile. The argument is expected to be a filename with the following exact syntax:

username:foo
password:password123

In spirit with --url, --username and --password checks, it is a conflict when --authfile is used when any of these other options are used.

Copy link
Owner

@alanxz alanxz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please run clang-format on tools/common.c, which should resolve the check related to formatting.

tools/common.c Outdated Show resolved Hide resolved
tools/common.c Outdated Show resolved Hide resolved
@alanxz alanxz merged commit 4630543 into alanxz:master Jun 13, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

insecure password option
2 participants