elasticdog / transcrypt

transparently encrypt files within a git repository
MIT License
1.43k stars 102 forks source link

Remove cached plaintext of secret files on uninstall or flush #89

Closed jmurty closed 4 years ago

jmurty commented 4 years ago

Fix issue #74 where flushing transcrypt credentials or uninstalling can leave cached plaintext versions of secret files in Git's object database with relatively easy-to-find refs.

jmurty commented 4 years ago

Hi @elasticdog the relatively simple fix in 80e9498 solves the problem, though I'm not sure how safe it is to run an explicit git prune without warning the user?