Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Add flag to pypicloud-gen-password for reading password from stdin #253

Closed
wants to merge 1 commit into from
Closed

Conversation

viktorradnai
Copy link
Contributor

This feature would be used for scripting the password hash creation. The specific use case I have in mind is to generate the hashed password from a Kubernetes secret using an init container before starting pypicloud.

The equivalent functionality is also available with the mkpasswd command which is part of the whois package, (mkpasswd -m sha-512 -s -R 20500) but it makes sense for the pypicloud-gen-password utility to support it as well.

@stevearc
Copy link
Owner

Looks good to me! Merged into the 1.1 branch.

@viktorradnai
Copy link
Contributor Author

Thanks, closing PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants