Compare commits
1 commit
6384c7bcea
...
b6d11f7b4e
Author | SHA1 | Date | |
---|---|---|---|
b6d11f7b4e |
6 changed files with 12 additions and 3 deletions
BIN
.gitcrypt/dec
BIN
.gitcrypt/dec
Binary file not shown.
BIN
.gitcrypt/diff
BIN
.gitcrypt/diff
Binary file not shown.
Binary file not shown.
BIN
.gitcrypt/init
BIN
.gitcrypt/init
Binary file not shown.
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
.gitcrypt/pass
|
|
14
README.md
14
README.md
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
*Store files encrypted, have them decrypted only in the working directory.*
|
*Store files encrypted, have them decrypted only in the working directory.*
|
||||||
|
|
||||||
Simply clone this repository to create an encrypted repository.
|
Simply clone this repository to create an encrypted one.
|
||||||
|
|
||||||
OpenSSL is needed.
|
OpenSSL is needed.
|
||||||
|
|
||||||
|
Tested in Linux and Git for Windows 2.6.
|
||||||
|
|
||||||
Thanks for [Woody Gilk's tutorial](https://gist.github.com/shadowhand/873637)
|
Thanks for [Woody Gilk's tutorial](https://gist.github.com/shadowhand/873637)
|
||||||
which served as a starting point.
|
which served as a starting point.
|
||||||
|
|
||||||
|
@ -22,7 +24,7 @@ which served as a starting point.
|
||||||
|
|
||||||
2. Imagine a repository password.
|
2. Imagine a repository password.
|
||||||
It is either expected in the environment variable `$GITCRYPT_PASS`,
|
It is either expected in the environment variable `$GITCRYPT_PASS`,
|
||||||
or in the file `.gitcrypt/pass` (which is ignored by Git).
|
or in the file `.git/pass` (which is ignored by Git).
|
||||||
|
|
||||||
3. After that, generate a salt:
|
3. After that, generate a salt:
|
||||||
|
|
||||||
|
@ -67,3 +69,11 @@ Why do errors like the following occur when cloning the repository:
|
||||||
|
|
||||||
The errors can be ignored.
|
The errors can be ignored.
|
||||||
|
|
||||||
|
* **Question:**
|
||||||
|
Why another version besides [git-encrypt](https://github.com/shadowhand/git-encrypt)
|
||||||
|
and [git-crypt](https://github.com/AGWA/git-crypt)?
|
||||||
|
|
||||||
|
**Answer:**
|
||||||
|
First and foremost for me to learn something.
|
||||||
|
But as an admirer of the [KISS principle](https://en.wikipedia.org/wiki/KISS_principle),
|
||||||
|
I felt that it should be even easier and less code.
|
||||||
|
|
Loading…
Add table
Reference in a new issue