TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Git-crypt – Transparent file encryption in git

29 pointsby remxabout 8 years ago

4 comments

dom0about 8 years ago
Previous discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14079514" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14079514</a>
tptacekabout 8 years ago
Reprising a comment from a similar tool:<p>Don&#x27;t keep encrypted secrets in your git repositories, if for no other reason than that it makes access revocation deceptively difficult --- but also because it encourages you to have a development team in which ordinary devs have a full complement of secrets on their laptops at all times.<p>Instead, keep secrets &quot;out of band&quot; and supply them to applications as part of your deployment process.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14080007" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14080007</a>
评论 #14212549 未加载
评论 #14212133 未加载
评论 #14212062 未加载
sigilabout 8 years ago
I know tptacek regards this as a security antipattern (he&#x27;s usually right), but I do it anyway for smaller projects. It&#x27;s better than committing plaintext secrets to a repo somewhere.<p>Couple things I wonder about:<p>1. I don&#x27;t understand why git-crypt is written in C, when a shorter shell script that calls out to openssl(1) and gpg(1) would seem to suffice.<p>2. The symmetric key mode isn&#x27;t ideal -- the gpg mode is better -- but up until OpenSSH 6.7 you couldn&#x27;t easily forward gpg-agent&#x27;s unix domain socket, which you need for working with a git checkout on a remote machine. There are also some issues with the gpg-agent protocol last I checked. Has anyone actually gotten gpg-agent forwarding to work?
agottererabout 8 years ago
git-crypt doesn&#x27;t really seem well maintained any longer.<p>Two alternatives that I&#x27;ve used and like are:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;StackExchange&#x2F;blackbox" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;StackExchange&#x2F;blackbox</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;elasticdog&#x2F;transcrypt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;elasticdog&#x2F;transcrypt</a>
评论 #14212597 未加载