badsecrets
badsecrets copied to clipboard
Docker Version
I had trouble getting this to run on my system with the dependencies, so I Dockerized it, and now it's working.
It's on Docker Hub: https://hub.docker.com/r/pensivesecurity/badsecrets
It can be run with
docker run pensivesecurity/badsecrets -h
If you have a custom secrets file, place the file "decryptionkeys.txt" in your current directory, then run
docker run -v $PWD:/tmp/ pensivesecurity/badsecrets -c /tmp/decryptionkeys.txt [rest_of_command]
The docker file is
FROM python:3
RUN python -m pip install badsecrets
ENTRYPOINT ["badsecrets"]
Please feel free to push an official container and add it to the installation instructions if you want. I figured I'd share this information in case it was helpful to anyone else.
Hey thanks for making that! Since I haven't had the dependency issues, I'd be curious to see the details on what packages you had issues with etc.
When I get a chance I may make make an official one, but I'll leave this open until then so people can find it easily.