Commit Graph

143 Commits (4e35af2fced71ed23c6c68f5c4ea155fc5484d26)

Author SHA1 Message Date
joshr a4a8ea62ed better error messages 7 years ago
joshr e7abd660bc improve git secret usage output 7 years ago
Josh Rabinowitz 4a2f34c791 remove commented-out code 7 years ago
Josh Rabinowitz 50b23c9739 fix 7 years ago
Josh Rabinowitz 900717707b TEMP Merge branch 'git-secret-cat' of github.com:joshrabinowitz/git-secret into git-secret-cat 7 years ago
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
7 years ago
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
7 years ago
Josh Rabinowitz 02e4bde64e better error checking 7 years ago
Josh Rabinowitz da55b56565 reflect code review input 7 years ago
Josh Rabinowitz badb0938d9 remove unused variable 7 years ago
Josh Rabinowitz dc4c8d7284 bump version to 0.2.4 7 years ago
Josh Rabinowitz 85854df8fd cleanup. Remove -f option. 7 years ago
Josh Rabinowitz 40c63e9960 add git secret cat filename [filename2] feature 7 years ago
Julien Lucca 86fd972a67
Update version.sh
Version was not bumped after 0.2.3 release
7 years ago
ilovezfs 91d2876d23 Make checksum command operating system based 7 years ago
NIKHILY 2f67e3efef Add support to run on Git Bash for Windows (MINGW) system. 7 years ago
Carlos Hernandez 9001cc397b
Fix SC1126 7 years ago
Carlos Hernandez fc5940840b Handle invalid flags better: SC2220 7 years ago
Carlos Hernandez d71c27f9a2 Fix ShellCheck lint issue id 2220, drop gawk inplace. Add centos
support.
7 years ago
Carlos Hernandez d6ea1f0b5f Fix and Ignore ShellCheck (0.4.6) 2001,111 7 years ago
Carlos Hernandez 8760cafd36 Refactor awk script to drop ENDFILE feature from 4.1.1
Signed-off-by: Carlos Hernandez <carlos@techbyte.ca>
7 years ago
Carlos Hernandez b6852910dd Modified ignore check, fixes #105. 7 years ago
pǝɯɐɥoɯ 674a880882 Fixed issue when initializing git-secret with an existing .gitignore 7 years ago
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
7 years ago
Carlos Hernandez fb29858dae doc encrypt on change option for hide cmd 7 years ago
Carlos Hernandez 41f9a004c4 Fix lint issues, disable false positives 7 years ago
Carlos Hernandez b78afdeff9 Adding gpg version check to modify encrypt cmd 7 years ago
Carlos Hernandez d10c63c67f Ensuring hide is compat with gnupg2.1 7 years ago
Carlos Hernandez 2c478f879d Simplify how ignore patterns are to gitignore during init 7 years ago
Carlos Hernandez 7897730955 Supply fsdb path when clearing hashes 7 years ago
Carlos Hernandez dcaf08e501 Get key counts from right function 7 years ago
Carlos Hernandez 5b1993abc8 Telling secrets need to invalidate file hashes 7 years ago
Carlos Hernandez 4160c2a05d Getting path from fsdb 7 years ago
Carlos Hernandez 6279fe2125 Migrate to new fsdb remove 7 years ago
Carlos Hernandez 8407b505bb Ensure random seed is ignored 7 years ago
Carlos Hernandez b75884e3f0 File checksum hash of secrets kept in path_mappings (fsdb) 7 years ago
Carlos Hernandez 638b67e155 Migrating to new fsdb(:) format. 7 years ago
Carlos Hernandez da3e6d2cac Adding checksum, and fsdb functions, making path mappings file colon
delimited fsdb.
7 years ago
sobolevn c85d482ec6
Merges develop, removes staging, refs #76 8 years ago
Christoph Tavan 078729a0c6
Make hide -d work with secrets in subdirectories
When searching for files to be removed after being hidden we must use
find with -path instead of -name if we want to remove files in
subdirectories as well.
8 years ago
sobolevn 763e130b8d
Adds new strategy on working with the relative paths.
Changes:
1. When adding new file path is normalized in respect to both CWD and repo root
2. All commands now know about that
3. Tests are fixed

Refs #86, #85, #83
8 years ago
sobolevn 8a1fe788f8
Adds fix to the `changes` command
Changes:
1. Fixes #80, there was a pipe to null, which broke the output
2. Also changed the `diff` formating
3. Also added test case to test deletions
8 years ago
sobolevn 9d0a2ac1c1
Adds fixes to subdirectories bug.
Changes:
1. Fixes #86, now all variables are accessed as functions
2. Fixes #85, now these use cases are working correctly
3. Fixes #83, now init works relative to `.git` folder
4. Closes #77, zsh-plugin is deprecated
5. Refs #53, done some refactoring to tests
6. Closes #82, added additional information to pull-request template
7. Refs #22, plugins are deprecated
8. Also made a lot of improvments into both code and tests
8 years ago
sobolevn 21d8c7af3e
Version 0.2.2 release 8 years ago
sobolevn 5c25233b89
Version 0.2.2 pre-release
There are a lot of changes, multiple things were refactored: tests,
some commands, building and meta.

Several critical bugs fixed.

Changes:
1. Fixed #74, when `_user_required` was not working after reimporting keys
2. Closes #73, now it is possible to provide multiple emails to the `killperson` command
3. Closes #72, now it is possible to provide multiple emails to the `tell` command
4. Closes #71, now every doc in this project refer to `git-secret.io` instead of old `gh-pages` website
5. Closes #70, now installation section is removed from main `man` file
6. Closes #69, now "See also" section in the `man`s are clickable
7. Closes #61, added "Manual" section to the manuals
8. Refs #38, added `centos` Dockerfile, but `ci` testing is still failing
9. Refs #52, tests are refactored. Added `clean` command tests, removed a lot of hardcoded things, moved tests execution from `./temp` folder to `/tmp`, added a lot of new check in old tests, and some new test cases
10. Refactored `hide` and `clean` commands to be shorter
11. `shellcheck` is now supported with `make lint`

Additional features are not comming to 0.2.2 after this commit.
8 years ago
Miguel Silvestre 19030e9cd0
Clean code using shellspeck 8 years ago
Miguel Silvestre 83709ec170
Fix bug when passing more than one file to changes 8 years ago
Tim Churchard 221fd88efc
Add -d option to hide command to remove unencrypted files. 8 years ago
sobolevn c1fa611f4d
Adds an attempt to fix the CI
Changes:
1. Fixes the licence information in the `plugin.zsh` to be MIT
2. Fixes link in the README
3. Fixes some tests

Closes #54
8 years ago
Tim Churchard d7be9f92b1
Allow git-secret to run from any directory in the work tree 8 years ago
Anton Maklakov c6a13cf405
A simpler implementation of "usage" 8 years ago
sobolevn c7ac7ad211
Fixed several issues
Changes:
1. Fixed typo in tests_base
2. Fixed `--no-index` issue
3. Refactored `add` test to be more strict

Closes #50
Refernces #46
8 years ago
sobolevn e1a627d36a
Added test to cover #50
Changes:
1. Fixed typo in `add -h`
2. Removed unused function from `usage`
8 years ago
sobolevn 728371912e
Version 0.2.2 pre-release
There are a lot of changes, multiple things were refactored: tests,
some commands, building and meta.

Several critical bugs fixed.

Changes:
1. Fixed #74, when `_user_required` was not working after reimporting keys
2. Closes #73, now it is possible to provide multiple emails to the `killperson` command
3. Closes #72, now it is possible to provide multiple emails to the `tell` command
4. Closes #71, now every doc in this project refer to `git-secret.io` instead of old `gh-pages` website
5. Closes #70, now installation section is removed from main `man` file
6. Closes #69, now "See also" section in the `man`s are clickable
7. Closes #61, added "Manual" section to the manuals
8. Refs #38, added `centos` Dockerfile, but `ci` testing is still failing
9. Refs #52, tests are refactored. Added `clean` command tests, removed a lot of hardcoded things, moved tests execution from `./temp` folder to `/tmp`, added a lot of new check in old tests, and some new test cases
10. Refactored `hide` and `clean` commands to be shorter
11. `shellcheck` is now supported with `make lint`

Additional features are not comming to 0.2.2 after this commit.
8 years ago
Miguel Silvestre 5a2049bd47 Clean code using shellspeck 8 years ago
Miguel Silvestre b8b2609ec2 Fix bug when passing more than one file to changes 8 years ago
Tim Churchard 1f8a9809a2 Add -d option to hide command to remove unencrypted files. 8 years ago
sobolevn 73526644e0
Adds an attempt to fix the CI
Changes:
1. Fixes the licence information in the `plugin.zsh` to be MIT
2. Fixes link in the README
3. Fixes some tests

Closes #54
8 years ago
Tim Churchard 4bf48da281 Allow git-secret to run from any directory in the work tree 8 years ago
sobolevn 2dab341abd
Merge branch 'develop' of https://github.com/sobolevn/git-secret into develop 8 years ago
sobolevn f099802324
Fixed several issues
Changes:
1. Fixed typo in tests_base
2. Fixed `--no-index` issue
3. Refactored `add` test to be more strict

Closes #50
Refernces #46
8 years ago
Sobolev Nikita b07a931a05 Merge pull request #48 from antmak/develop
A simpler implementation of "usage"
8 years ago
sobolevn 904ce02cfc
Added test to cover #50
Changes:
1. Fixed typo in `add -h`
2. Removed unused function from `usage`
8 years ago
Anton Maklakov a9e4f8f111 A simpler implementation of "usage" 8 years ago
sobolevn 2e9e374acb
Version 0.2.1 release 8 years ago
sobolevn 67218994f3
refactored all src folder 8 years ago
sobolevn a1cd887101
refactoring started, shellcheck is now supported 8 years ago
sobolevn 8b1a01f1f6
This commit is pretty large. A lot of changes.
The full list of changes:
1. Added `.docker/` folder with Dockerfiles
2. Now `travis` runs integrational tests inside these containers
3. Now `travis` runs tests with `mac os x`
4. Now there are new ways to autodeploy `deb` and `rpm` packages
5. Fixed some issues
6. Also added `.ci/` folder, where utility scripts for travis are stored
7. Moved `git-hooks` into the separate folder: `utils/hooks/`
8. Added new target to the `Makefile`
9. `.gitignore` is updated to ignore `build/` folder and inner files
8 years ago
sobolevn 691efef167 version 0.2.0 prelease 8 years ago
sobolevn b5bdec9673 Added `git-secret-changes` and changed the way `decryption` worked.
Now there's a separate function `_decrypt` which handles `gpg`-decryption.
It is convinient, since both `changes` and `reveal` use it.

Also I have updated manuals to match new features. Also new `brew` repo is now officialy supported.
Added tests for the `changes` command.
8 years ago
sobolevn 8206de7ebb Added '-f' option to the `reveal` command.
This option allows to easily overwite existing giles with no prompt.
Also added documentation for the new option.

Closes #24
8 years ago
sobolevn a8c244b319 Merge branch 'master' into develop 8 years ago
sobolevn d523d8b8a9 There was a bug with `sed` command, when trying to `remove` filename with slashes.
Now it is fixed. See `_delete_line` function.
Closes #23
8 years ago
sobolevn a5abefba90 release v0.1.2 8 years ago
sobolevn 66f9b63872 Merge branch 'develop' into staging 8 years ago
sobolevn 3577c165ec Added `-i` flag to the `git-secret-add` command, which now auto-ignores unignored files.
Also added a test case for this feature.
Other changes:
1. refactored `Makefile` to have `.PHONY` marks
2. added install target to the `Makefile`, now one can run `make install` (with optional `$PREFIX` variable)
3. updated docs for `git-secret.7`, `git-secret-add.1`
4. refactored some commands to `shift` arguments
5. added a test case to the 'other-file-extension' situation
5. added `.github` folder to store templates

Closed #18
8 years ago
sobolevn 70ce25c899 Solved the issue with gpg2 >= 2.1
The reason was with the `_user_required` function. It was checking for the `pubring.gpg` file, which was renamed in the `gpg2` >= 2.1
So I have removed this check, leaving other things in place.

Closes #6
8 years ago
sobolevn a9cea588bb version 0.1.1 9 years ago
sobolevn b285eb91ed Merge branch 'develop' of https://github.com/sobolevn/git-secret into develop 9 years ago
sobolevn 1161098f12 Fixes the `gpg2` issue by changing the way fixture installation and uninstallation were handled.
Also `--dry-run` option was added to the `git-secret` command.
9 years ago
Julio Sueiras 60c849acef Typo fix
Typo fix from `git congig user.email` to `git config user.email`
9 years ago
elinamorits 73a6e041fa fixed .deb package creation 9 years ago
elinamorits 86a214574d debian/ubuntu packages 9 years ago
sobolevn bf6fdac0b2 manuals finished, new help based on man, zsh plugin 9 years ago
sobolevn 6278d2e597 somehow git repo fucked up 9 years ago
sobolevn 8d16a0e679 manuals, help text, style fixes 9 years ago
sobolevn b370149e18 fixes after makefile crash 9 years ago
sobolevn d0f6a7c3c1 small style fixes 9 years ago
sobolevn 2b48137287 list and whoknows commands added 9 years ago
sobolevn d6cb27b5dd bug for linux fixed 9 years ago
sobolevn cd97ba1cc2 tests for remove 9 years ago
sobolevn bdc3dbda18 manuals started 9 years ago
sobolevn 634de90bae pre-reliase 9 years ago