Skip to content

Commit

Permalink
Update for git-crypt 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AGWA committed Jan 8, 2015
1 parent 12881f6 commit 849401d
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 4 deletions.
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v0.4.1 (2015-01-08)
* Important usability fix to ensure that the .git-crypt directory
can't be encrypted by accident (see RELEASE_NOTES-0.4.1.md for
more information).

v0.4 (2014-11-16)
(See RELEASE_NOTES-0.4.md for important details.)
* Add optional GPG support: GPG can be used to share the repository
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
News
====

######v0.4.1 (2015-01-08)
* Important usability fix to ensure that the .git-crypt directory
can't be encrypted by accident (see
[the release notes](RELEASE_NOTES-0.4.1.md) for more information).

######v0.4 (2014-11-16)
(See [the release notes](RELEASE_NOTES-0.4.md) for important details.)
* Add optional GPG support: GPG can be used to share the repository
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ encryption and decryption happen transparently.

CURRENT STATUS

The latest version of git-crypt is 0.4, released on 2014-11-16.
The latest version of git-crypt is 0.4.1, released on 2015-01-08.
git-crypt aims to be bug-free and reliable, meaning it shouldn't
crash, malfunction, or expose your confidential data. However,
it has not yet reached maturity, meaning it is not as documented,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ encryption and decryption happen transparently.
Current Status
--------------

The latest version of git-crypt is [0.4](RELEASE_NOTES-0.4.md), released on
2014-11-16. git-crypt aims to be bug-free and reliable, meaning it
The latest version of git-crypt is [0.4.1](RELEASE_NOTES-0.4.1.md), released on
2015-01-08. git-crypt aims to be bug-free and reliable, meaning it
shouldn't crash, malfunction, or expose your confidential data.
However, it has not yet reached maturity, meaning it is not as
documented, featureful, or easy-to-use as it should be. Additionally,
Expand Down
21 changes: 21 additions & 0 deletions RELEASE_NOTES-0.4.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
git-crypt 0.4.1 is a bugfix-only release that contains an important
usability fix for users who use GPG mode to encrypt an entire repository.

Previously, if you used a '*' pattern in the top-level .gitattributes
file, and you did not explicitly add a pattern to exclude the .git-crypt
directory, the files contained therein would be encrypted, rendering
the repository impossible to unlock with GPG.

git-crypt now adds a .gitattributes file to the .git-crypt directory
to prevent its contents from being encrypted, regardless of patterns in
the top-level .gitattributes.

If you are using git-crypt in GPG mode to encrypt an entire repository,
and you do not already have a .gitattributes pattern to exclude the
.git-crypt directory, you are strongly advised to upgrade. After
upgrading, you should do the following in each of your repositories to
ensure that the information inside .git-crypt is properly stored:

1. Remove existing key files: `rm .git-crypt/keys/*/0/*`

2. Re-add GPG user(s): `git-crypt add-gpg-user GPG_USER_ID ...`
2 changes: 1 addition & 1 deletion git-crypt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#ifndef GIT_CRYPT_GIT_CRYPT_HPP
#define GIT_CRYPT_GIT_CRYPT_HPP

#define VERSION "0.4.0"
#define VERSION "0.4.1"

extern const char* argv0; // initialized in main() to argv[0]

Expand Down

0 comments on commit 849401d

Please sign in to comment.