Commit Graph

429 Commits

Author SHA1 Message Date
Åsmund Grammeltvedt b003318d81 Update .gitignore when registering new files
To reduce the risk of accidentally adding plaintext secrets, ignore
registered plaintext files.
2014-10-13 21:31:58 +02: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
Joe Block 974aaba885 Make sure path assignment is space friendly per @tomontime's feedback 2014-10-06 10:46:36 -07:00
Joe Block 21ff36f800 Merge remote-tracking branch 'upstream/master' into add-antigen-helper 2014-10-03 15:29:53 -07:00
Joe Block 01bad6b2ee Add name of initialize script 2014-10-03 13:10:00 -07: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
Joe Block ed0c63e33f Start writing an antigen plugin file 2014-10-02 22:48:39 -07:00
mavenlink 157dfe6d2f cleanup some mis-named things and remove dead var 2014-10-02 17:03:49 -07:00
mavenlink cd880e76c2 add blackbox_shred_all_files that shreds decrypted versions of any encrypted file, this will discard current changes 2014-10-02 17:02:20 -07:00
mavenlink fe10053e63 use srm if available, this is OSX's secure remove utility 2014-10-02 16:55:54 -07: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 Mast 0361dc39c5 blackbox: Removed the manual gpg --import step from README, added prepare_keychain to blackbox_update_all_files 2014-09-25 15:35:45 -05:00
Tom Mast be821148a9 blackbox: Removed homedir and updated README to add step to import pubring 2014-09-25 15:31:05 -05:00
Tom Mast 0a954752d9 blackbox: Update README, add --homedir to encryption step in _blackbox_common 2014-09-25 15:19:49 -05:00
Christophe Biocca 14edf71e83 Uses umask to avoid creating world-readable files. 2014-09-24 00:33:52 -04:00
Christophe Biocca 26800752b4 Puts parens in print call, for python3 compatibility. 2014-09-24 00:13:08 -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
Christophe Biocca d453df2875 Ensure editor actually gets a filename to work with. 2014-09-23 17:24:44 -04:00
Tom Limoncelli 8650a4165a Merge pull request #16 from loadstar81/master
Some minor README updates
2014-09-23 12:52:56 -05:00
Tom Mast 07e4e20eee Merge branch 'master' of https://github.com/loadstar81/blackbox 2014-09-23 10:16:30 -05:00
Tom Mast 53d368e5a9 Fixed small README errors 2014-09-23 10:16:11 -05:00
Tom Mast 6c9bff50da Fixed small README errors 2014-09-18 16:15:43 -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
Christophe Biocca 0a465125cb Allows profile file to work on pathmunge-less systems.
Will check for pathmunge's existence and use it, or fallback to
prepending to the path.
2014-09-12 10:57:53 -04: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
Lucas S. Magalhães 829c7902bb Added comment about blackbox_edit 2014-09-04 13:15:23 -03:00
tlimoncelli@stackexchange.com eea4820b4f More doc updates 2014-09-04 11:21:19 -04:00
Tom Limoncelli 5f5d54756f Merge pull request #13 from lsmag/master
New command blackbox_edit
2014-09-04 11:14:46 -04:00
Lucas S. Magalhães 60b7206d8a re-encrypt and shred after edit 2014-09-04 11:45:26 -03:00
Lucas S. Magalhães a7baaf2e8c blackbox_edit created 2014-09-04 11:29:23 -03:00
tlimoncelli@stackexchange.com c41c9c03e3 Merge branch 'lnhubbell-patch-1' 2014-09-04 09:35:14 -04:00
tlimoncelli@stackexchange.com aba30109a4 Merge 2014-09-04 09:35:07 -04:00
Tom Limoncelli 151c6918bc Merge pull request #6 from AEAMcNett/patch-1
Missing period in README.md
2014-09-04 09:29:38 -04:00
Tom Limoncelli 34a8507359 Merge pull request #7 from TheFox/hackernews
HackerNews, not HackNews.
2014-09-04 09:18:18 -04:00
Christian Mayer 06bafb0ff2 HackerNews, not HackNews. 2014-09-04 11:39:37 +02:00