AGWA / AGWA/git-crypt

prevent committing unencrypted files that should be encrypted

オープン
#201 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
9.9k
フォーク
544
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, my team started to use `git-crypt` recently. I see that for new people it is very easy to forget unlocking the repo and only then submitting files that should be encrypted.

That is, when a new file is added. Then a pull request could be created with all secret files exposed.

1. git clone
2. `#` user forgets `git crypt unlock` or does not have key
3. vi secrets/some-file.txt
4. git add secrets/some-file.txt
5. git commit -m "adding a new secret"
5. `#` now at step 4 or 5 git-crypt could return an error to prevent secrets leaks
7. git push

In this way it should be impossible for people to submit unencrypted files (that should be encrypted according to `.gitattributes`) regardless of they having access to encrypted content or not.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。