ixc / ixc-django-docker

Scripts and config files that make it easier to run Django projects consistently with and without Docker.
5 stars 1 forks source link

Fixes for git-secret with newer version of gnupg #6

Open jmurty opened 7 years ago

jmurty commented 7 years ago

From @Aramgutang via Slack:

If you're stuck on git-secret and it refuses to work with newer versions of GPG (like we saw on iwc-forum), adding these lines to the Dockerfile did the trick (you'll also want to remove .gnupg/gpg.conf from .dockerignore):

RUN echo "allow-loopback-pinentry" > .gnupg/gpg-agent.conf RUN echo "pinentry-mode loopback" > .gnupg/gpg.conf

This is probably something that should live in setup-git-secret.sh instead but I'll let @mrmachine decide if it's worth putting it there, or just switching to Transcrypt