Skip to content

Commit df23f23

Browse files
Update DEVELOPMENT_ENV_SETUP.md (#245)
* Update DEVELOPMENT_ENV_SETUP.md Add commit/tag signing
1 parent 1e25ba4 commit df23f23

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

DEVELOPMENT_ENV_SETUP.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,20 @@ You can also consult the static analysis results at:
190190
* Setup environment: export DISPLAY=:2
191191
* Start the Metacity window manager: metacity --replace &
192192
* Execute the tests: mvn clean install
193+
194+
# Git commit / tag signing
195+
196+
Here is the `.gitconfig`. To force all commits to be signed. Trace Compass recommends signing commits in order to mitigate impersonation attacks. To enable signing, modify the `.gitconfig` as follows.
197+
198+
cat ~/.gitconfig
199+
200+
```
201+
[user] 
202+
  email = user.name@company.com 
203+
  name = user name 
204+
  signingkey = /home/username/.ssh/id_rsa.pub 
205+
[commit] 
206+
  gpgsign = true 
207+
[gpg] 
208+
  format = ssh 
209+
```

0 commit comments

Comments
 (0)