Commit Graph

143 Commits (4e35af2fced71ed23c6c68f5c4ea155fc5484d26)

Author SHA1 Message Date
joshr 481d750af4 comment about SECRETS_DIR 6 years ago
joshr 5a00250da9 add comments about SECRETS_DIR environment variable 6 years ago
joshr 5d5392232b remove debug code 6 years ago
joshr 645fc2370e change preserve option from -C to -P 6 years ago
joshr 835fe80d8f set permissions when hiding files. change option to -C. 6 years ago
joshr 84c9502015 Merge branch 'master' into file-perms-172 6 years ago
Luis Rascão 80e4908471 Allow per-command configuration of custom secrets dir (#247)
Typical use case is when you want different people to have access
to some files and other people access to other different files.
6 years ago
joshr cfdca85469 fixes, use _get_encrypted_filename, show TAP diag output 6 years ago
joshr d73e1081be cleanup 6 years ago
joshr a86e6ec552 remove unused code 6 years ago
joshr 505428f837 quoting fixes 6 years ago
joshr 2a1a8cb58b fixes for lint and typo 6 years ago
joshr fda5a0ad21 fixes and debug for 'reveal -c' option 6 years ago
joshr ffc50acd6a add os-based versions of get_octal_perms 6 years ago
joshr 2e7d6a12a5 add -c (preserve permission) option to reveal. For #172 6 years ago
Josh Rabinowitz 246825c658
fix for keys with only emails, and no usernames. Closes #227 (#240)
* test and fix for keys with only emails, and no usernames. Closes #227
6 years ago
joshr 5c639cf8e7 fixes for filenames with spaces
_list_all_added_files() now sets 'filenames' var, and
fixed quoting when updating hashes.
6 years ago
joshr bb2253af8a remove debug code, see #237 6 years ago
joshr b2f00fd32c fixes for filenames with spaces
quoting improvements, and
_list_all_added_files() now sets a global 'filenames' array.
6 years ago
joshr 826dfeb5d4 remove unneeded code 6 years ago
joshr a7eaa6013c fix for issue #230, when git-secret is run in subdir of repo 6 years ago
joshr 4b847298ef restore unquoted variable and comment about it. shellcheck tweak. 6 years ago
joshr 65a7118d25 restore small optimizations. quote variable for shellcheck. 6 years ago
joshr adc522a9d3 allow spaces in path
for issue #135, regarding spaces in pathnames
6 years ago
Simon Massey 1f2fb99a0a
Full stop changed to comma 6 years ago
Josh Rabinowitz 99f2229038 mention 'add' has an option, and that each command has options 6 years ago
Josh Rabinowitz 31e5528fac Clarify that 'git-secret-add' doesn't alter .gitignore by default 6 years ago
Josh Rabinowitz 28377b138c fix typos 6 years ago
Josh Rabinowitz 1552e22a11 more consistent error messages 6 years ago
Josh Rabinowitz 73c81747cc fix indentation 6 years ago
joshr 332aa1f5d5 fix typo 6 years ago
Josh Rabinowitz ab58461f8e more error checking around decryption 6 years ago
Josh Rabinowitz b268ddf226 more careful error checking running gpg 6 years ago
joshr 75c5ea168c fix 6 years ago
joshr 5ab26e6707 improve messaging, add comment 6 years ago
joshr 1d32cd0650 check that gpg -n --list-keys reported no error 6 years ago
joshr 4661b725df abort if unable to decrypt hidden file 6 years ago
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
6 years ago
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
6 years ago
Josh Rabinowitz 52bbc20162
Merge branch 'master' into add-tracked-file-126 6 years ago
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.
6 years ago
joshr ffa89ceaa2 fix 6 years ago
joshr a78e0172bc check that added files are not tracked by git 6 years ago
Josh Rabinowitz 97fa9e6e7b fix quoting and phrasing 6 years ago
Josh Rabinowitz 114f4c7c6c document git secret --version 6 years ago
joshr 2bc42f2655 mention 'git secret list' not mapping.cfg in usage 6 years ago
joshr 55f2b83320 fix typo 6 years ago
joshr 8b2a1eab1d Merge branch 'master' into improve-docs 6 years ago
joshr 4766df2110 improve error messages
in add, killperson, remove, tell, and main
6 years ago
joshr 0dc00367f9 improve message when .git exists but not .gitsecret 6 years ago