Commit Graph

381 Commits

Author SHA1 Message Date
Carlos Hernandez
6ced466a84 Making test compat with gnupg 2.1 2017-09-12 10:49:24 -06:00
Carlos Hernandez
c602db9583 Migrate to exported keys. 2017-09-11 21:06:02 -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
Carlos Hernandez
638b67e155 Migrating to new fsdb(:) format. 2017-09-08 13:26:43 -06:00
Carlos Hernandez
da3e6d2cac Adding checksum, and fsdb functions, making path mappings file colon
delimited fsdb.
2017-09-08 13:21:18 -06:00
Nikita Sobolev
87f7cffaa4 Merge pull request #103 from imbaky/master
Fixed issue when initializing git-secret with an existing .gitignore
2017-09-06 08:16:04 +03:00
pǝɯɐɥoɯ
235a9ff725 Fixed issue when initializing git-secret with an existing .gitignore 2017-09-05 22:55:34 -04:00
sobolevn
7de04950e9
Fixes travis builds on macOS
Changes:
1. Updates `.travis.yml` with proper versions of `gpg`
2. Updates `README.md` with minimal versions requirements

Cloeses #96
2017-07-17 10:54:43 +03:00
sobolevn
b8cab67e2c
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-06-01 14:01:41 +03:00
sobolevn
c85d482ec6
Merges develop, removes staging, refs #76 2017-03-27 22:11:16 +03:00
sobolevn
12d4b9f6de
Adds new release process.
Changes:
1. Removed any reference of `staging` branch from docs
2. Refactored `hooks` to work with master

Closes #76
2017-03-27 21:51:33 +03:00
sobolevn
5f2d3b3c1c
Adds 'after_deploy' travis hook
Changes:
1. Adds `after_deploy` hook in travis.yml file
2. Adds `.ci/after_deploy.sh` script to trigger metadata calculation

Closes #89
2017-03-27 21:14:25 +03:00
Sobolev Nikita
270c6dff6b Merge pull request #90 from ctavan/fix-hide-delete-option-for-subdirectories
Make hide -d work with secrets in subdirectories
2017-03-10 01:27:49 +03:00
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.
2017-03-09 19:00:29 +01:00
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
2017-03-06 13:14:44 +03:00
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
2017-03-06 02:19:50 +03:00
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
2017-03-06 00:46:49 +03:00
sobolevn
d6f01b8ee6
Publish 2017-02-26 18:50:57 +03:00
sobolevn
21d8c7af3e
Version 0.2.2 release 2017-02-26 18:26:37 +03:00
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.
2017-02-26 18:19:08 +03:00
Miguel Silvestre
fe7da439ed
Test changes using multiple files passed as argument 2017-02-26 18:19:08 +03:00
Miguel Silvestre
19030e9cd0
Clean code using shellspeck 2017-02-26 18:19:08 +03:00
Miguel Silvestre
83709ec170
Fix bug when passing more than one file to changes 2017-02-26 18:19:08 +03:00
Tim Churchard
221fd88efc
Add -d option to hide command to remove unencrypted files. 2017-02-26 18:19:08 +03:00
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
2017-02-26 18:19:07 +03:00
Haroen Viaene
51b1797203
update from develop 2017-02-26 18:19:07 +03:00
Haroen Viaene
c4fa8e2918
Fix gendered language
the person encrypting isn't necessarily male, so *their* works better in this case IMO
2017-02-26 18:19:07 +03:00
Tim Churchard
d7be9f92b1
Allow git-secret to run from any directory in the work tree 2017-02-26 18:19:07 +03:00
Anton Maklakov
c6a13cf405
A simpler implementation of "usage" 2017-02-26 18:19:07 +03:00
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
2017-02-26 18:19:07 +03:00
sobolevn
e1a627d36a
Added test to cover #50
Changes:
1. Fixed typo in `add -h`
2. Removed unused function from `usage`
2017-02-26 18:19:06 +03:00
sobolevn
d9b5895bbe
Intallation instructions updated
Improved github templates with the comments

[ci skip]
2017-02-26 18:19:06 +03:00
sobolevn
c9dfa68fb8
Changing deb distribution name 2017-02-26 18:19:06 +03:00
sobolevn
4d14c98778
readme fix 2017-02-26 18:19:06 +03:00
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.
2017-02-26 18:10:51 +03:00
Sobolev Nikita
acdcb45466 [now working] Merge pull request #64 from msilvestre/feature/permit_to_check_changes_on_more_than_one_specific_file
Fix bug when passing more than one file to changes
2017-02-25 23:30:23 +03:00
Miguel Silvestre
40777fe450 Test changes using multiple files passed as argument 2017-02-21 18:52:02 +00:00
Miguel Silvestre
5a2049bd47 Clean code using shellspeck 2017-02-21 18:50:13 +00:00
Miguel Silvestre
b8b2609ec2 Fix bug when passing more than one file to changes 2017-02-17 18:40:49 +00:00
Sobolev Nikita
fa7837a83b Merge pull request #62 from timchurchard/shred_ignored_files
Add -d option to hide command to remove unencrypted files.
2017-02-11 23:07:36 +03:00
Tim Churchard
1f8a9809a2 Add -d option to hide command to remove unencrypted files. 2017-02-11 19:59:34 +00:00
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
2017-02-04 23:15:16 +03:00
Sobolev Nikita
87e29e0c3a Merge pull request #57 from Haroenv/patch-1
Fix gendered language
2017-01-17 12:55:32 +03:00