Skip to content

Commit

Permalink
Encrypt config.yaml
Browse files Browse the repository at this point in the history
Bug: T348476
  • Loading branch information
vivian-rook committed Oct 11, 2023
1 parent 822379a commit a7c1798
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Directory entries are not enough to encrypt fines beneath it
# https://github.com/AGWA/git-crypt#gitattributes-file
quarry/config.yaml filter=git-crypt diff=git-crypt
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ __pycache__/
.venv/
venv/
node_modules/
config.yaml
.vagrant/
.coverage
.python-version
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,12 @@ Bug: <ticket number>

For example:
Bug: T317566

## git-crypt ##

git-crypt is used to encrypt the config.yaml file. To decrypt ask a maintainer for the decryption key and:
```
git clone https://github.com/toolforge/quarry.git
cd quarry
git-crypt unlock <path to decryption key>
```
Binary file added quarry/config.yaml
Binary file not shown.

0 comments on commit a7c1798

Please sign in to comment.