![]() |
![]()
| ![]() |
![]()
NAMEtranscrypt - transparently encrypt files within a git repository SYNOPSIStranscrypt [options...] DESCRIPTIONtranscrypt will configure a Git repository to support the transparent encryption/decryption of files by utilizing OpenSSL´s symmetric cipher routines and Git´s built-in clean/smudge filters. It will also add a Git alias "ls-crypt" to list all transparently encrypted files within the repository. The transcrypt source code and full documentation may be downloaded from https://github.com/elasticdog/transcrypt. OPTIONS
EXAMPLESTo initialize a Git repository to support transparent encryption, just change into the repo and run the transcrypt script. transcrypt will prompt you interactively for all required information if the corresponding option flags were not given.
Once a repository has been configured with transcrypt, you can transparently encrypt files by applying the "crypt" filter and diff to a pattern in the top-level .gitattributes config. If that pattern matches a file in your repository, the file will be transparently encrypted once you stage and commit it:
See the gitattributes(5) man page for more information. If you have just cloned a repository containing files that are encrypted, you´ll want to configure transcrypt with the same cipher and password as the origin repository. Once transcrypt has stored the matching credentials, it will force a checkout of any existing encrypted files in order to decrypt them. If the origin repository has just rekeyed, all clones should flush their transcrypt credentials, fetch and merge the new encrypted files via Git, and then re-configure transcrypt with the new credentials. AUTHORAaron Bull Schaefer <aaron@elasticdog.com> SEE ALSOenc(1), gitattributes(5)
|