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.confRUN 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
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 theDockerfile
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