Commit Graph
100 Commits
Author SHA1 Message Date
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
tlimoncelli@stackexchange.com d68af832b3 Fix problem that crashes pinentry 2014-11-05 16:00:49 +00:00
tlimoncelli@stackexchange.com 3fcd21651d Merge branch 'master' of github.com:StackExchange/blackbox 2014-11-02 08:53:11 -05:00
Tom Limoncelli f3128c36ab Make confidence tests compatible with Cygwin. 2014-11-02 08:44:35 -05:00
Tom Limoncelli f77303ea7d Merge pull request #30 from bendra/master
adding cygwin support
2014-11-01 11:56:45 -04:00
tlimoncelli@stackexchange.com 8b9abb271d Add more comments 2014-10-30 14:14:12 +00:00
tlimoncelli@stackexchange.com 0fb0c0c5dd Fix perms 2014-10-29 14:16:47 -04:00
Tom Limoncelli da43aea21c Merge pull request #28 from harrisonpage/master
List of files to be be shredded now prints filenames
2014-10-24 00:54:53 -06:00
Tom Limoncelli a667cfcba2 Merge pull request #26 from bendra/master
Subversion support
2014-10-21 09:58:10 -06:00
tlimoncelli@stackexchange.com 6ed02298f0 BUG: RPM has no description 2014-10-14 15:13:02 +00:00
tlimoncelli@stackexchange.com ead4316693 More makefile cleanups 2014-10-14 15:10:05 +00:00
tlimoncelli@stackexchange.com d1a9dbcd2e Better handle filenames with * and ? in them. 2014-10-14 14:43:03 +00:00
tlimoncelli@stackexchange.com e12de7dfe3 Add instructions on removing files. 2014-10-14 14:34:27 +00:00
tlimoncelli@stackexchange.com 99deedf07f Merge branch 'asmundg-x-update-gitignore' 2014-10-14 14:26:30 +00:00
tlimoncelli@stackexchange.com 8a180325c1 Add TODO 2014-10-14 14:26:24 +00:00
tlimoncelli@stackexchange.com 225909cdf3 For git, add plaintext files to .gitignore to prevent accidental additions. 2014-10-14 14:23:34 +00:00
tlimoncelli@stackexchange.com 574bbf50ad "make test" should have more clear output on failure. 2014-10-14 14:22:52 +00:00
tlimoncelli@stackexchange.com 39f9ffb7df Move code around. No changes 2014-10-13 17:26:41 +00:00
Tom Limoncelli 659f781238 Merge pull request #24 from unixorn/add-antigen-helper
Add antigen helper
2014-10-06 14:19:03 -04:00
tlimoncelli@stackexchange.com ead6e96721 Use -- to prevent potential issues with funny file names 2014-10-03 16:25:13 +00:00
Tom Limoncelli cd2a661837 Merge pull request #22 from mavenlink/add-shred-all-files-command
add blackbox_shred_all_files
2014-10-03 12:22:30 -04:00
Tom Limoncelli 264cae29ef Merge pull request #23 from mavenlink/add-osx-srm-support
use srm if available, this is OSX's secure remove utility
2014-10-03 12:20:54 -04:00
Tom Limoncelli 2ff15c6daf Merge pull request #19 from christophebiocca/umask
Uses umask to avoid creating world-readable files.
2014-09-25 19:51:44 -04:00
Tom Limoncelli 1f38c21598 Merge pull request #17 from christophebiocca/fix-python
Puts parens in print call, for python3 compatibility.
2014-09-25 19:49:44 -04:00
Tom Limoncelli 6946de7ad0 Merge pull request #20 from loadstar81/master
Add a call to prepare_keychain in blackbox_update_all_files
2014-09-25 19:48:29 -04:00
Tom Limoncelli f521f4c2d4 Merge pull request #18 from christophebiocca/fix-edit
Ensure editor actually gets a filename to work with.
2014-09-23 16:57:22 -05:00
Tom Limoncelli 8650a4165a Merge pull request #16 from loadstar81/master
Some minor README updates
2014-09-23 12:52:56 -05:00
tlimoncelli@stackexchange.com b7217e197d Eliminate "mungepath". Improve performance and assure script will not touch disk. 2014-09-12 16:36:04 +00:00
tlimoncelli@stackexchange.com 5f15527d56 Rewrite profile.d-usrblackbox.sh to only use BASH built-ins; retain file size <132 so that it is an "inline" file. 2014-09-12 16:32:27 +00:00
tlimoncelli@stackexchange.com a328dcab59 Merge branch 'christophebiocca-fix-pathmunge' 2014-09-12 16:18:39 +00:00
tlimoncelli@stackexchange.com 8db38905de Reduce size of profile.d-usrblackbox.sh to below 132 bytes.
Add test framework to make sure we don't break bash or sh.
2014-09-12 16:17:35 +00:00
tlimoncelli@stackexchange.com 2689a2d5a4 Remove debug statement 2014-09-09 20:36:27 +00:00
tlimoncelli@stackexchange.com 389e8a7a19 BIG CHANGES:
* Command no longer need to be run from the base directory of the repo.
  * blackbox_edit now asks "are you sure?" and is greatly simplified.

_blackbox_common.sh:
  * add_filename_to_cryptlist now accepts paths relative to cwd.
  * fail_if_not_on_cryptlist now accepts paths relative to cwd.
  * new function: vcs_relative_path reports a path to the file relative to the REPOBASE.
  * new function: is_on_cryptlist

plus...
  * Some minor performance enhancesments and cleanups.
  * confidence_test.sh now tests some commands while not in REPOBASE.
2014-09-09 20:32:48 +00:00
tlimoncelli@stackexchange.com 2dcb922f95 Remove duplicate file: blackbox_start 2014-09-09 20:20:45 +00:00
tlimoncelli@stackexchange.com 28bff4ff9f Add "set -e" to all scripts. 2014-09-08 20:25:38 +00:00
tlimoncelli@stackexchange.com 3460633506 Fix _determine_vcs_base_and_type and fail_if_not_on_cryptlist 2014-09-08 20:09:04 +00:00
tlimoncelli@stackexchange.com 10dec2222e Merge branch 'lnhubbell-patch-1' 2014-09-05 14:54:05 +00:00
tlimoncelli@stackexchange.com 92128a8c20 merge 2014-09-05 14:53:39 +00:00
Tom Limoncelli ade9b4fbe7 Merge pull request #14 from lsmag/master
Thanks for the update!
2014-09-05 10:52:04 -04:00