Commit Graph

640 Commits

Author SHA1 Message Date
joshr
5ab26e6707 improve messaging, add comment 2018-04-24 08:24:40 -04:00
joshr
1d32cd0650 check that gpg -n --list-keys reported no error 2018-04-24 08:09:27 -04:00
joshr
8233f3a1de Merge branch 'master' into detect-gpg-error-136 2018-04-24 07:58:32 -04:00
joshr
4661b725df abort if unable to decrypt hidden file 2018-04-24 07:57:13 -04:00
Josh Rabinowitz
d92390b118
Merge pull request #167 from joshrabinowitz/deploy-dists-120
set GITSECRET_DIST once per gpg source/distribution type combination
2018-04-22 16:00:12 -04:00
joshr
67788a9f05 fix 2018-04-22 09:26:59 -04:00
joshr
ae504a6035 one GITSECRET_DIST per gpg/type combination. 2018-04-22 09:18:48 -04:00
Josh Rabinowitz
c2081514d6 fixes for git secret changes (#160)
* fixes for git secret changes

check that we can find filenames passed on command line, and that
we can find the unencrypted versions of hidden files.

* new test

* add tests
2018-04-21 18:25:38 +03:00
Josh Rabinowitz
7884a51f18
Merge pull request #162 from joshrabinowitz/update-readme2
update changelog
2018-04-20 08:25:54 -04:00
joshr
ac1aad2984 update CHANGELOG 2018-04-19 11:57:00 -04:00
Josh Rabinowitz
07f471de93 Fix deploys (#161)
* set GITSECRET_DIST for bintray deploy

* add GITSECRET_DIST=rpm too

* set more GITSECRET_DIST vars
2018-04-19 09:28:28 +03:00
Josh Rabinowitz
deae0d1cd5 'git secret hide' without source files gives appropriate error (#158)
* don't hide files that don't exist decrypted.

and change related error message to 'file not found: filename'.

* ensure all source files are present before hiding

* test for 'add' while unencrypted file missing
2018-04-18 20:56:54 +03:00
Josh Rabinowitz
5572894af7
Merge pull request #156 from joshrabinowitz/add-tracked-file-126
improve error message when trying to 'git secret add' a file tracked by git
2018-04-18 09:25:33 -04:00
Josh Rabinowitz
52bbc20162
Merge branch 'master' into add-tracked-file-126 2018-04-17 18:09:43 -04:00
joshr
13170c313f check if file is tracked before adding
and tell user useful information in case they want to
hide a file that's tracked.
2018-04-17 18:00:18 -04:00
joshr
ffa89ceaa2 fix 2018-04-17 17:03:43 -04:00
Josh Rabinowitz
5b626fcb08
Merge pull request #155 from sobolevn/document-version2
document 'git secret --version'
2018-04-17 16:57:51 -04:00
joshr
a78e0172bc check that added files are not tracked by git 2018-04-17 15:53:40 -04:00
Josh Rabinowitz
97fa9e6e7b fix quoting and phrasing 2018-04-17 15:34:19 -04:00
Josh Rabinowitz
114f4c7c6c document git secret --version 2018-04-17 15:27:24 -04:00
Josh Rabinowitz
91492539ac
Merge pull request #149 from joshrabinowitz/improve-docs
Improve docs
2018-04-17 12:12:21 -04:00
joshr
fe0c9c71e7 fix typo and update man pages 2018-04-17 11:23:10 -04:00
joshr
ef5596aa42 improve CHANGELOG.md and git-secret man page 2018-04-17 11:20:01 -04:00
joshr
2bc42f2655 mention 'git secret list' not mapping.cfg in usage 2018-04-17 11:18:21 -04:00
joshr
55f2b83320 fix typo 2018-04-17 09:10:44 -04:00
joshr
8b2a1eab1d Merge branch 'master' into improve-docs 2018-04-17 08:42:44 -04:00
Nikita Sobolev
c5d2962744
Merge pull request #151 from joshrabinowitz/error-message-150
better error messages
2018-04-17 10:31:12 +03:00
joshr
43c80ad25c update changelog 2018-04-17 00:12:03 -04:00
joshr
277057fa3e improve documents and break long lines 2018-04-17 00:06:11 -04:00
joshr
76362aff53 improve text and break long lines 2018-04-16 23:43:57 -04:00
joshr
4766df2110 improve error messages
in add, killperson, remove, tell, and main
2018-04-16 22:52:06 -04:00
joshr
33adc19682 fix test to match _abort() output 2018-04-16 22:24:11 -04:00
joshr
0dc00367f9 improve message when .git exists but not .gitsecret 2018-04-16 21:58:32 -04:00
joshr
a4a8ea62ed better error messages 2018-04-16 21:50:28 -04:00
joshr
192cd71765 improve description 2018-04-16 21:26:30 -04:00
joshr
722892cc46 improve git-secret docs 2018-04-16 17:42:36 -04:00
joshr
e7abd660bc improve git secret usage output 2018-04-16 17:42:16 -04:00
Josh Rabinowitz
8f6b3876ac use 'git secret hide -d' in example 2018-04-16 16:14:34 -04:00
Josh Rabinowitz
6c29ed7eb7 fix typo 2018-04-16 16:11:36 -04:00
Josh Rabinowitz
b6d903b2a6 improve docs re: ignores & .gitsecret 2018-04-16 16:07:56 -04:00
Josh Rabinowitz
d216f91bd7
Merge pull request #148 from joshrabinowitz/small-fixes
fix typos and bug in test_cat.bats
2018-04-16 15:39:18 -04:00
Josh Rabinowitz
4783002a5f use ansible version 2.5.0 2018-04-16 13:59:28 -04:00
Josh Rabinowitz
78a072e881 Merge branch 'small-fixes' of github.com:joshrabinowitz/git-secret into small-fixes 2018-04-16 13:33:30 -04:00
Josh Rabinowitz
937a2c8d9d v2.5 fix error: 'failed to validate the SSL certificate for api.github.com:443'
that we see only with 'gnupg-git-[debian|ubuntu]' kitchen configs
  with ansible < 2.5.0.0
2018-04-16 13:30:21 -04:00
Josh Rabinowitz
e7653af7db fix error: 'failed to validate the SSL certificate for api.github.com:443'
that we see only with 'gnupg-git-[debian|ubuntu]' kitchen configs
  with ansible < 2.5.0.0
2018-04-16 13:20:42 -04:00
Josh Rabinowitz
884c6afc36 fix for python InsecurePlatformWarning error 2018-04-16 12:23:19 -04:00
Josh Rabinowitz
f8f3896486 refer to issue 141 and fix typos 2018-04-16 11:56:38 -04:00
Josh Rabinowitz
b626faf472 typos fixed 2018-04-16 11:05:50 -04:00
Nikita Sobolev
80797bcd46
Merge pull request #142 from joshrabinowitz/git-secret-cat
Git secret cat
2018-04-15 11:48:37 +03:00
Josh Rabinowitz
4a2f34c791 remove commented-out code 2018-04-14 16:37:36 -04:00