Commit Graph
100 Commits
Author SHA1 Message Date
tlimoncelli@stackexchange.com 343b85a34c Fix issue on OS X when creating a temporary file
This prevents the "mktemp: too few X's in template
_stacklib_" error message from appearing when
adding another admin to blackbox and allows the command to successfully
execute.

    Related:
    rtomayko/shocco#5
    http://unix.stackexchange.com/q/87638/63283
2015-07-28 08:21:52 -04:00
tlimoncelli@stackexchange.com 1f2d99436d Fixed #83 blackbox_edit* scripts should accept multiple filenames 2015-07-24 09:57:34 -04:00
tlimoncelli@stackexchange.com 23cc07d1e3 Fix #107 2015-07-24 13:26:18 +00:00
tlimoncelli@stackexchange.com 5ae47a69ea Clean up after cp_permission test 2015-07-24 13:13:51 +00:00
tlimoncelli@stackexchange.com 59685d580b Improve comments. 2015-07-24 13:04:23 +00:00
tlimoncelli@stackexchange.com aee22fc99d Reorganize tests
* Split out test helper functions into tools/test_functions.sh
  * bin/_blackbox_common_test.sh: Unit-tests for functions.
  * blackbox_postdeploy: Use cp_permissions instead of chmod --reference
2015-07-24 09:01:00 -04:00
Tom Limoncelli 8956be47a3 Merge pull request #111 from wiredmax/master
File permissions now persits when decrypting.
2015-07-23 14:41:04 -04:00
tlimoncelli@stackexchange.com 6765988274 Bug: Packages are missing blackbox_deregister_file. 2015-07-09 22:52:42 -07:00
Tom Limoncelli 01a6758ab8 Merge pull request #102 from selfcommit/master
Steps towards recursive repos
2015-07-05 12:11:47 -04:00
tlimoncelli@stackexchange.com eab0418ffe vcs_relative_path broke on MacOS X. 2015-07-03 11:43:52 -04:00
tlimoncelli@stackexchange.com f5eeffd043 confidence_test.sh: assert_file_group() fails if gid name includes space. 2015-07-03 15:05:31 +00:00
Tom Limoncelli 626ff178b6 Merge pull request #101 from anubiann00b/patch-1
Added an exclamation point.
2015-07-02 11:27:08 -04:00
Tom Limoncelli 1b443ff682 Merge pull request #98 from selfcommit/master
added quotes to fix linting $BLACKBOX_HOME Linting in _blockbox_common.sh
2015-06-29 11:14:44 -04:00
Tom Limoncelli 4c7078e4c4 Merge pull request #95 from shadone/blackbox_initialize_ignore_file_fix
Fixed initialization
2015-06-27 13:14:49 -04:00
Tom Limoncelli 1cf8b709f4 Merge pull request #96 from shadone/gpg-tool-override
Allow overriding gpg command
2015-06-27 13:12:59 -04:00
Tom Limoncelli 4c0f45856f Merge pull request #97 from shadone/typo
Fixed a typo in a comment
2015-06-27 13:12:09 -04:00
tlimoncelli@stackexchange.com 521d108df9 confidence_test.sh: Verify that invalid key names get an error 2015-06-20 20:05:52 +00:00
tlimoncelli@stackexchange.com 7c99a8f94c Merge branch 'fidian-optimize-vcs-type' 2015-06-20 19:11:48 +00:00
tlimoncelli@stackexchange.com efe7bbc8cd Removing the multiple calls to determine VCS type.
* Credit goes to fidian@rumkin.com
2015-06-20 19:10:37 +00:00
tlimoncelli@stackexchange.com 64e019c8e6 Remove call to _determine_vcs_base_and_type. 2015-06-20 19:10:02 +00:00
tlimoncelli@stackexchange.com 415b55b1c7 Document that register supports many files 2015-06-20 14:56:17 -04:00
tlimoncelli@stackexchange.com d45625086a blackbox_register_new_file: Accept multiple files on the command line. 2015-06-20 15:54:08 +00:00
tlimoncelli@stackexchange.com c0dda22c9c Bug: blackbox_deregister_file deletes blackbox-files.txt
* Clarified symantics of blackbox_deregister_file in comments.
  * Added confidence test
2015-06-20 15:39:32 +00:00
tlimoncelli@stackexchange.com 11b2cae683 Merge branch 'fidian-optimizations' 2015-06-16 17:14:20 -04:00
tlimoncelli@stackexchange.com 78fd5d42ec Merge branch 'optimizations' of https://github.com/fidian/blackbox into fidian-optimizations 2015-06-16 17:12:52 -04:00
tlimoncelli@stackexchange.com 4466c202fb Revert "Merge pull request #89 from fidian/optimize-vcs-type"
This reverts commit 082809bab2, reversing
changes made to 33429b3ca6.
2015-06-16 17:11:22 -04:00
Tom Limoncelli 082809bab2 Merge pull request #89 from fidian/optimize-vcs-type
Reduced number of calls to _determine_vcs_base_and_type
2015-06-16 17:05:22 -04:00
tlimoncelli@stackexchange.com 33429b3ca6 Improve GPG 1.x compatibility. 2015-06-15 20:33:50 +00:00
tlimoncelli@stackexchange.com a3fc4cbf4a Simplify handling of "SECRETSEXPOSED" 2015-06-15 20:33:21 +00:00
tlimoncelli@stackexchange.com c129d06ea0 is_on_cryptlist reversed arguments to file_contains_line() 2015-06-15 20:32:35 +00:00
tlimoncelli@stackexchange.com 12943b3021 Update confidence tests
* assert_line_exists: error message text is reversed.
  * Update assertions to work with newer ignore processing.
  * Report "SUCCESS" not just "DONE".
2015-06-15 20:30:20 +00:00
Tom Limoncelli e0f7f88beb Merge pull request #85 from fidian/deregister
Adding blackbox_deregister_file
2015-06-15 14:27:04 -04:00
tlimoncelli@stackexchange.com 161117242e Packages should be built for all architectures 2015-06-14 19:33:21 -04:00
Tom Limoncelli e79f87f9b3 Merge pull request #87 from jvasile/master
Enable installation/removal via stow
2015-06-14 19:17:41 -04:00
tlimoncelli@stackexchange.com 2a839f1520 Fix path to blackbox_postdeploy 2015-06-03 15:34:01 -04:00
Tom Limoncelli 3bcb76c129 Merge pull request #82 from jlesquembre/keyring_new_format
GnuPG 2.1 keyring default extension is '.kbx'
2015-06-02 16:35:36 -04:00
tlimoncelli@stackexchange.com 592c726b1d Update file list 2015-06-02 11:38:24 -04:00
tlimoncelli@stackexchange.com 02700b547a Update comments and add newly added files to packages. 2015-06-02 15:37:06 +00:00
tlimoncelli@stackexchange.com 9ba966445f fixup! 2015-06-02 11:12:15 -04:00
tlimoncelli@stackexchange.com 24ee6b3923 NEW: blacbox_decrypt_all_files: A wrapper around blackbox_postdeploy
which sets up the gpg-agent.
2015-06-02 11:11:27 -04:00
Tom Limoncelli 6392a475e5 Merge pull request #79 from appropriate/clean-cat-output
Send non-file output from blackbox_cat to STDERR
2015-06-02 10:51:05 -04:00
Tom Limoncelli fbbadd658c Merge pull request #78 from johnmichel/master
Fix issue on OS X when creating a temporary file
2015-05-13 15:01:50 -04:00
Tom Limoncelli d960a59904 Merge pull request #77 from pombreda/patch-1
Fixed Minute typo
2015-05-10 14:57:09 -04:00
tlimoncelli@stackexchange.com 4a5787cad8 Add support for using the commands outside of a repo. 2015-05-01 15:44:09 +00:00
Tom Limoncelli ba503c33a4 Merge pull request #71 from dorfsmay/readme-add-dependency
Add a dependency to build deb packages.
2015-04-06 09:30:06 -04:00
tlimoncelli@stackexchange.com 05edc204ae Merge branch 'salekseev-feature_p4_support' 2015-04-01 11:41:24 -04:00
tlimoncelli@stackexchange.com 123cad5e41 MERGE 2015-04-01 11:41:06 -04:00
Tom Limoncelli ccc9a42bef Merge pull request #69 from gburiola/master
added bin/blackbox_whatsnew
2015-04-01 11:37:34 -04:00
Tom Limoncelli 74c0481f10 Merge pull request #70 from rictorres/patch-1
Fix typo on README
2015-04-01 11:36:06 -04:00
Tom Limoncelli 08ece7bd60 Merge pull request #65 from quarkslab/improve-diff-display
Modify files loop to improve diff display
2015-03-23 10:30:40 -04:00
Tom Limoncelli ea72a7cd04 Merge pull request #64 from onyxraven/use_agent
use agent for encrypt-decrypt
2015-03-22 09:42:00 -04:00
Tom Limoncelli a154c7546a Merge pull request #62 from quarkslab/fix-blackbox-diff
Add blackbox_diff to README
2015-03-20 15:12:06 -04:00
Tom Limoncelli 9bfb3e964f Merge pull request #63 from quarkslab/clean-ifs
Remove all IFS saves
2015-03-20 15:11:41 -04:00
tlimoncelli@stackexchange.com d5a82166f3 tools/confidence_test.sh: Test that locked out user can't decrypt. 2015-03-19 15:02:05 -07:00
Tom Limoncelli 124f265825 Merge pull request #61 from quarkslab/fix-support_filenames-with-space
Modify several scripts to support or improve support for filenames with space
2015-03-19 14:21:29 -07:00
Tom Limoncelli ff50a7a30f Merge pull request #60 from quarkslab/dev-diff
Add blackbox_diff script
2015-03-19 14:16:16 -07:00
tlimoncelli@stackexchange.com 225d38ee11 BACKWARDS INCOMPATIBLE CHANGES:
* Using $BASEDIR to pass the location of the repo hasn't worked for a
  while. It has been removed.  Simply cd into the vcs repo before
  running a command.
BUG FIXES:
* .gitignore was being created in subdirectories instead of VCS root.
MINOR CHANGES
* _blackbox_common.sh: Replace change_to_root with change_to_vcs_root
* confidence_test.sh: Added more assertions and tests.
2015-03-10 21:16:27 +00:00
Tom Limoncelli ccba841cd8 Merge pull request #56 from jw35/avoid-needing-path
Avoid needing blackbox scripts on $PATH
2015-03-09 07:59:09 -04:00
Tom Limoncelli 6817724205 Merge pull request #54 from enricopulatzo/patch-1
docs: correct typo in example
2015-03-09 07:58:41 -04:00
tlimoncelli@stackexchange.com fcaceab817 'make confidence' assumes source in ~/gitwork/blackbox. Fixes #58 2015-03-09 07:56:37 -04:00
Tom Limoncelli 65a1c938ab Merge pull request #53 from Gnouc/master
Register new file now work with space in filename.
2015-03-06 08:57:49 -05:00
tlimoncelli@stackexchange.com faa40c71c7 Add Debian instructions 2015-03-06 13:51:53 +00:00
tlimoncelli@stackexchange.com c474e1f0a8 rename 2015-03-05 22:20:13 +00:00
tlimoncelli@stackexchange.com 8d1d09b454 Remove irrelevant error check 2015-03-04 18:23:12 -05:00
Tom Limoncelli d7a3c791e9 Merge pull request #49 from law/master
adding rudimentary debian package building support
2015-03-04 16:18:34 -05:00
tlimoncelli@stackexchange.com f505eb96dc Merge branch 'Gnouc-master' 2015-03-04 15:27:56 -05:00
tlimoncelli@stackexchange.com 9c9691c5d6 BUG: "make confidence" should work on Mac OS X 2015-02-28 08:18:26 -06:00
tlimoncelli@stackexchange.com a9562e73d6 "make confidence" should work on mac (partial implementation) 2015-02-28 07:58:30 -06:00
Tom Limoncelli 5baec75e4b Merge pull request #47 from Gnouc/master
Fix many bugs for unquote variables.
2015-02-28 07:56:57 -06:00
Tom Limoncelli 971b6bf63a Merge pull request #45 from unixorn/add-antigen-zgen-instructions
Add antigen and zgen instructions
2015-02-24 14:33:38 -05:00
Tom Limoncelli 65d11ff6d5 Merge pull request #44 from jpluscplusm/patch-1
Fix typo in Readme
2015-02-24 11:45:35 -05:00
tlimoncelli@stackexchange.com d6fc4b1dac NEWS: Blackbox is now available via MacPorts! 2015-02-24 11:06:57 -05:00
tlimoncelli@stackexchange.com b8881d7bff Refine the upgrade procedure 2015-02-22 13:31:27 -05:00
tlimoncelli@stackexchange.com 19facd35da Better MacPorts release flow. 2015-02-22 11:25:42 -05:00
tlimoncelli@stackexchange.com ee3b6612ff - Add blackbox_list_files to RPM and MacPorts packages.
- Makefile should not require DESTDIR variable.
2015-02-16 16:17:30 +00:00
tlimoncelli@stackexchange.com 7cfb47c09b blackbox_list_files: Only list files. No extra text. (Makes it easier to work with grep and other utilities) 2015-02-16 16:16:40 +00:00
tlimoncelli@stackexchange.com f18a6a0a8a README.md: Add list of commands. 2015-02-16 11:09:58 -05:00
tlimoncelli@stackexchange.com 503b26d354 blackbox_update_all_files: Clarify comment. 2015-02-16 11:09:58 -05:00
Tom Limoncelli 27df8eadf0 Merge pull request #42 from jrodriguezjr/master
List files that BlackBox is tracking
2015-02-16 10:59:28 -05:00
Tom Limoncelli 79ae5d33ab Merge pull request #43 from cyberbob25/master
Added EDITOR default to _blackbox_common.sh
2015-02-16 10:56:39 -05:00
tlimoncelli@stackexchange.com 86fe5ae352 More securely quote $BB_FILES 2015-02-10 18:54:47 -05:00
tlimoncelli@stackexchange.com de3ec22655 mk_rpm_fpmdir: Many improvements: configurable epoch, description, vendor 2015-02-04 20:19:09 +00:00
tlimoncelli@stackexchange.com 511d59e7bb Clean up MacPorts configuration 2015-02-03 12:34:15 -05:00
tlimoncelli@stackexchange.com a772aea1d7 First attempt at a MacPorts config 2015-02-03 12:18:01 -05:00
tlimoncelli@stackexchange.com ca3d319c82 RELEASE_ENGINEERING.TXT: Fix typo 2015-02-03 11:12:52 -05:00
tlimoncelli@stackexchange.com 9c6525161c Makefile: fix manifest name 2015-01-29 16:43:26 -05:00
tlimoncelli@stackexchange.com ce5174691d Rework package build to use mk_rpm_fpmdir new filenames 2015-01-28 22:13:34 +00:00
Tom Limoncelli 992b8f773d Merge pull request #40 from neuroid/makefile-fix
Fix unterminated quoted string
2015-01-27 08:00:58 -05:00
tlimoncelli@stackexchange.com 3f9d2a3044 Clarify docs 2015-01-26 20:30:06 +00:00
tlimoncelli@stackexchange.com d4012bfeac NEW: RELEASE_ENGINEERING.TXT 2015-01-26 20:26:30 +00:00
tlimoncelli@stackexchange.com 9634e2424a Fix if expression 2015-01-14 16:10:45 +00:00
Tom Limoncelli 2dd4c51635 Merge pull request #38 from rtkwgray/master
Allow blackbox to run without being in $PATH
2015-01-14 11:00:30 -05:00
tlimoncelli@stackexchange.com 3f36d28798 Update README.md 2015-01-09 19:01:56 +00:00
Tom Limoncelli 537c6846ae Merge pull request #37 from millerjl1701/master
Update rpm_filelist.txt
2015-01-06 17:33:10 -05:00
Tom Limoncelli ed44987165 Merge pull request #35 from benhc123/patch-1
Updated license date
2015-01-01 12:32:22 -05:00
tlimoncelli@stackexchange.com d764a58151 Makefile: Clarify package build instructions. 2014-11-17 15:44:23 +00:00
Tom Limoncelli 9785635f1d Merge pull request #31 from harrisonpage/master
Created blackbox_cat: Decrypt a file, cat it, shred it. Changed blackbox_shred_all_files to cd to root of repo before shredding.
2014-11-17 07:44:19 -08:00
Tom Limoncelli b5c778a08e Be more secure in the use of "read" 2014-11-05 16:48:55 +00:00
tlimoncelli@stackexchange.com eb96b6d1fc Use sh-compatible version of redirection. 2014-11-05 16:48:26 +00:00
tlimoncelli@stackexchange.com 46903b6225 Improve "confidence" recipe. Check .gnupg dir after the fact. 2014-11-05 16:48:26 +00:00