News for hackers. Stuff that matters.
Re:Git-secret – store private data in a Git repo by jedberg on Tuesday May 10, 2016 @12:30AM (#11665156)
If you use a purpose built storage though then you can deny access to the actual keys to just about everyone, so if a developer leaves then they won't have the keys, and if they do you'll know because it will have a built in audit trail. And in many cases you never have to release the key from the purpose built store because it takes in crypto text and gives out plain text without ever revealing the key to the user.

They'll have their own key, which will be revoked from the store, and they might have a single key that machines use to access the store. You should be rotating that machine key all the time anyway, so rotating once more when a dev leaves isn't a big deal. It's also much easier than rotating all of your actual keys, which in many cases is generated by a third party that may make such a thing very hard.

Re:Git-secret – store private data in a Git repo by mifix on Tuesday May 10, 2016 @03:30AM (#11665668)
What you are describing is how to remove _access_ to the secret. The issue here is, that the former employee still has _knowledge_ of the secret. Hence you have to rotate the secret.
Re:Git-secret – store private data in a Git repo by tptacek on Tuesday May 10, 2016 @03:14PM (#11669766)
Plenty of companies choose to accept the risk that an employee might have memorized a secret, but not accept the risk that the employee's secret-encrypting-key might leak at any point for the lifetime of the repository.

Obviously, nothing you do w/r/t secret storage is going to resolve the problem of what's in your employees' heads.

Re:Git-secret – store private data in a Git repo by iopq on Tuesday May 10, 2016 @05:10AM (#11665977)
If a developer leaves they'll still have the plaintext of the keys from when they were working for you. You have to change your secrets at that point.