passgen
A docker container to run passgen.py
Requirements
- Docker for Mac
- Xcode command line tools to be installed
$ xcode-select --install
Usage
- Update AUTH_USER and AUTH_PASS in .env
- Build and run container
$ export AUTH_PASS=<auth_pass>
$ make build
$ make up
- Get password
plaintext
$ make get-pass
# or
$ curl http://$AUTH_USER:$AUTH_PASS@127.0.0.1
HiEN-l0Dz-VQ8b-QdLu
json
$ make get-json
# or
$ curl http://$AUTH_USER:$AUTH_PASS@127.0.0.1/json
{
"password": "HiEN-l0Dz-VQ8b-QdLu"
}