Commit Graph

697 Commits

Author SHA1 Message Date
nictrix
3aa3353fb7
fix shellcheck lint error 2017-11-10 12:42:25 -07:00
nictrix
52dd244a73
add integration tests for alpine
adds a docker file for integration tests
update integration framework and tests to include alpine
update makefile to include apk builds for alpine
update build utils to include apk compatibility
changed a couple switch lines to be compatible with alpine
adds travis tests
2017-11-10 11:31:22 -07:00
Nikita Sobolev
d3a5f38356 Merge pull request #107 from hurricanehrndz/develop
Big PR that introduces `gawk`, `kitchen`, and other cool stuff
2017-09-26 11:17:30 +03:00
Carlos Hernandez
8a03a41e47 Fixing bug in test_usage 2017-09-25 12:47:39 -06:00
pǝɯɐɥoɯ
674a880882 Fixed issue when initializing git-secret with an existing .gitignore 2017-09-24 13:57:20 -06:00
sobolevn
684ca668c2 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-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
c9861a1079 Add local ci tests. 2017-09-24 08:03:05 -06:00
Carlos Hernandez
fb29858dae doc encrypt on change option for hide cmd 2017-09-24 07:51:46 -06:00
Carlos Hernandez
af98f73142 Document "-u" option for hide command 2017-09-23 20:26:35 -06:00
Carlos Hernandez
41f9a004c4 Fix lint issues, disable false positives 2017-09-23 17:59:37 -06:00
Carlos Hernandez
fea9c3201d Remove left over files from tests 2017-09-23 17:58:25 -06:00
Carlos Hernandez
fc334ea938 Updating ignore files 2017-09-20 23:05:06 -06:00
Carlos Hernandez
f9b70fbd16 Added fixes for gnupg >= 2.1 2017-09-13 16:06:16 -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
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