joshr
4661b725df
abort if unable to decrypt hidden file
2018-04-24 07:57:13 -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
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
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
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
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
joshr
4766df2110
improve error messages
...
in add, killperson, remove, tell, and main
2018-04-16 22:52:06 -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
e7abd660bc
improve git secret usage output
2018-04-16 17:42:16 -04:00
Josh Rabinowitz
4a2f34c791
remove commented-out code
2018-04-14 16:37:36 -04:00
Josh Rabinowitz
50b23c9739
fix
2018-04-14 10:05:27 -04:00
Josh Rabinowitz
900717707b
TEMP Merge branch 'git-secret-cat' of github.com:joshrabinowitz/git-secret into git-secret-cat
2018-04-14 09:50:17 -04:00
Josh Rabinowitz
c760513e35
small grammar change, update,
...
fixes for linter errors about 'which'
For example:
in utils/deb/deb-ci.sh line 27: 'which git-secret':
SC2230: which is non-standard. Use builtin 'command -v' instead.
remove inoperative links
reflect code review input
add test for 'git secret cat'
restore sponsor links
2018-04-14 09:43:36 -04:00
Josh Rabinowitz
612e34cce8
add git secret cat filename [filename2] feature.
...
ronn file for manpage
cleanup. Remove -f option.
bump version to 0.2.4
remove unused variable
add references to git secret cat in ronn docs.
git-secret-cat man page
2018-04-14 09:43:11 -04:00
Josh Rabinowitz
02e4bde64e
better error checking
2018-04-14 09:27:55 -04:00
Josh Rabinowitz
da55b56565
reflect code review input
2018-04-14 07:11:51 -04:00
Josh Rabinowitz
badb0938d9
remove unused variable
2018-04-13 20:04:15 -04:00
Josh Rabinowitz
dc4c8d7284
bump version to 0.2.4
2018-04-13 20:02:16 -04:00
Josh Rabinowitz
85854df8fd
cleanup. Remove -f option.
2018-04-13 19:40:09 -04:00
Josh Rabinowitz
40c63e9960
add git secret cat filename [filename2] feature
2018-04-13 19:30:51 -04:00
Julien Lucca
86fd972a67
Update version.sh
...
Version was not bumped after 0.2.3 release
2018-03-12 16:11:56 -03:00
ilovezfs
91d2876d23
Make checksum command operating system based
2018-01-13 05:33:41 -08:00
NIKHILY
2f67e3efef
Add support to run on Git Bash for Windows (MINGW) system.
2017-12-19 09:27:03 +05:30
Carlos Hernandez
9001cc397b
Fix SC1126
2017-11-27 13:54:31 -07:00
Carlos Hernandez
fc5940840b
Handle invalid flags better: SC2220
2017-11-27 09:52:08 -07:00
Carlos Hernandez
d71c27f9a2
Fix ShellCheck lint issue id 2220, drop gawk inplace. Add centos
...
support.
2017-11-27 09:50:38 -07:00
Carlos Hernandez
d6ea1f0b5f
Fix and Ignore ShellCheck (0.4.6) 2001,111
2017-11-27 09:50:38 -07:00
Carlos Hernandez
8760cafd36
Refactor awk script to drop ENDFILE feature from 4.1.1
...
Signed-off-by: Carlos Hernandez <carlos@techbyte.ca>
2017-11-27 09:50:38 -07:00
Carlos Hernandez
b6852910dd
Modified ignore check, fixes #105 .
2017-11-27 09:50:38 -07:00
pǝɯɐɥoɯ
674a880882
Fixed issue when initializing git-secret with an existing .gitignore
2017-09-24 13:57:20 -06:00
sobolevn
e3fe3b4222
Adds documentation update
...
Documentation:
1. Adds security note, closes #78
2. Adds a tweak about `random_seed` and `.gitsecret/`, closes #93
3. Adds `git --version` into issue tamplate, closes #95
4. Improves `README.md`, refs #79
2017-09-24 13:57:19 -06:00
Carlos Hernandez
fb29858dae
doc encrypt on change option for hide cmd
2017-09-24 07:51:46 -06:00
Carlos Hernandez
41f9a004c4
Fix lint issues, disable false positives
2017-09-23 17:59:37 -06:00
Carlos Hernandez
b78afdeff9
Adding gpg version check to modify encrypt cmd
2017-09-13 16:05:24 -06:00
Carlos Hernandez
d10c63c67f
Ensuring hide is compat with gnupg2.1
2017-09-13 16:04:56 -06:00
Carlos Hernandez
2c478f879d
Simplify how ignore patterns are to gitignore during init
2017-09-11 09:16:03 -06:00
Carlos Hernandez
7897730955
Supply fsdb path when clearing hashes
2017-09-11 09:15:30 -06:00
Carlos Hernandez
dcaf08e501
Get key counts from right function
2017-09-11 09:14:30 -06:00
Carlos Hernandez
5b1993abc8
Telling secrets need to invalidate file hashes
2017-09-10 10:38:03 -06:00
Carlos Hernandez
4160c2a05d
Getting path from fsdb
2017-09-08 14:20:33 -06:00
Carlos Hernandez
6279fe2125
Migrate to new fsdb remove
2017-09-08 14:19:48 -06:00
Carlos Hernandez
8407b505bb
Ensure random seed is ignored
2017-09-08 14:19:16 -06:00
Carlos Hernandez
b75884e3f0
File checksum hash of secrets kept in path_mappings (fsdb)
2017-09-08 13:30:27 -06:00