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 a git-bundle-server command or installed script for generating auth configs #52

Open
vdye opened this issue May 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@vdye
Copy link
Collaborator

vdye commented May 11, 2023

Following up on this comment: we require fixed auth to supply the SHA256 hash of the password to avoid saving it in plaintext on disk. To provide a slightly more user-friendly experience generating this (and other) auth configs, we should create an interactive command or script to configure the desired auth config.

An example output might look like:

$ git-bundle-server generate-auth-config
Which mode would you like to configure for (not case-sensitive)?
* fixed
* plugin

Answer: fixed

Please specify a username: admin
Please specify a password:

Your auth config was written to './auth-config_20230511_160023.json'.
$ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant