Skip to content

Commit ca98d1a

Browse files
committed
Minor README tweaks
1 parent 4acb420 commit ca98d1a

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ Specify files to encrypt by creating a .gitattributes file:
3434
Like a .gitignore file, it can match wildcards and should be checked into
3535
the repository. See below for more information about .gitattributes.
3636
Make sure you don't accidentally encrypt the .gitattributes file itself
37-
(or other git files like .gitignore or .gitmodules).
37+
(or other git files like .gitignore or .gitmodules). Make sure your
38+
.gitattributes rules are in place *before* you add sensitive files, or
39+
those files won't be encrypted!
3840

3941
Share the repository with others (or with yourself) using GPG:
4042

@@ -102,6 +104,10 @@ instead. (Note: no endorsement is made of git-remote-gcrypt's security.)
102104
git-crypt does not encrypt file names, commit messages, symlink targets,
103105
gitlinks, or other metadata.
104106

107+
git-crypt does not hide when a file does or doesn't change, the length
108+
of a file, or the fact that two files are identical (see "Security"
109+
section above).
110+
105111
Files encrypted with git-crypt are not compressible. Even the smallest
106112
change to an encrypted file requires git to store the entire changed file,
107113
instead of just a delta.

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ Specify files to encrypt by creating a .gitattributes file:
3535
Like a .gitignore file, it can match wildcards and should be checked into
3636
the repository. See below for more information about .gitattributes.
3737
Make sure you don't accidentally encrypt the .gitattributes file itself
38-
(or other git files like .gitignore or .gitmodules).
38+
(or other git files like .gitignore or .gitmodules). Make sure your
39+
.gitattributes rules are in place *before* you add sensitive files, or
40+
those files won't be encrypted!
3941

4042
Share the repository with others (or with yourself) using GPG:
4143

@@ -104,6 +106,10 @@ instead. (Note: no endorsement is made of git-remote-gcrypt's security.)
104106
git-crypt does not encrypt file names, commit messages, symlink targets,
105107
gitlinks, or other metadata.
106108

109+
git-crypt does not hide when a file does or doesn't change, the length
110+
of a file, or the fact that two files are identical (see "Security"
111+
section above).
112+
107113
Files encrypted with git-crypt are not compressible. Even the smallest
108114
change to an encrypted file requires git to store the entire changed file,
109115
instead of just a delta.

0 commit comments

Comments
 (0)