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

Docker Version #81

Open
lukewegryn opened this issue Jul 11, 2023 · 1 comment
Open

Docker Version #81

lukewegryn opened this issue Jul 11, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@lukewegryn
Copy link

lukewegryn commented Jul 11, 2023

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.

@liquidsec
Copy link
Collaborator

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.

@liquidsec liquidsec self-assigned this Jul 11, 2023
@liquidsec liquidsec added the enhancement New feature or request label Jul 11, 2023
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

2 participants