Charles Prost
1debbd918b
[add] Add blackbox_diff script
2015-03-19 14:38:29 +01: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
Jon Warbrick
b35c09609b
Avoid needing blackbox scripts on $PATH
...
blackbox_edit and blackbox_cat use other blackbox scripts internally,
but assume that they will be found on $PATH. In testing it's useful to
be able to run these scripts by pathname without first putting them on
$PATH, and all the other scripts work just fine in these circumstances.
This edit fixes this by prefixing all references to other scripts in
blackbox_edit and blackbox_cat with ${blackbox_home}, which is conveniently
set as part of sourcing _blackbox_common.sh.
2015-03-08 19:59:55 +00:00
LE Manh Cuong
90dc874d56
Register new file now work with space in filename.
2015-03-06 11:33:39 +07:00
LE Manh Cuong
19532b82d5
Issue 50:
...
- Fix forgetting unquotes command substitution in function vcs_relative_path.
- Using old test instead of new test in Makefile.
- Fix some variables for Bob in "confidence_test.sh".
2015-03-03 09:31:09 +07:00
LE Manh Cuong
5428aed2d7
Fix many bugs for unquote variables.
2015-02-27 01:09:59 +07: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
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
Bryan Roberts
63b5dc9de4
Fixed parameter expansion in _blackbox_common.sh for EDITOR
2015-02-15 11:52:34 -05:00
Bryan Roberts
d4fd6cf8ed
Removed check for EDITOR from blackbox_edit
2015-02-15 11:40:00 -05:00
Bryan Roberts
e5028b0fdb
Removed blackbox_view since blackbox_cat already exists
2015-02-15 02:36:11 -05:00
Bryan Roberts
9b5af9f85c
Added EDITOR default to _blackbox_common.sh
2015-02-15 02:35:03 -05:00
Bryan Roberts
a95a5ef629
Fixed argument for deletion
2015-02-15 02:22:41 -05:00
Bryan Roberts
0e5fdf6fa3
Added EDITOR default to blackbox_edit; Created blackbox_view
2015-02-14 20:00:34 -05:00
Joe Rodriguez Jr
1c69a11cdf
Changing default umask.
2015-02-11 13:47:00 -06:00
Joe Rodriguez Jr
28b8c413c0
Make file executable.
2015-02-11 08:40:16 -06:00
tlimoncelli@stackexchange.com
86fe5ae352
More securely quote $BB_FILES
2015-02-10 18:54:47 -05:00
Joe Rodriguez Jr
bb6e7e3451
List files that BlackBox is tracking
2015-02-10 16:08:19 -06:00
tal@whatexit.org
9f7792a629
Fix syntax error: blackbox_edit: line 12: conditional binary operator expected
...
Fixed #39
2015-01-26 13:45:44 -05:00
tlimoncelli@stackexchange.com
9634e2424a
Fix if expression
2015-01-14 16:10:45 +00:00
Warren Gray
beefbfb912
- Fix blackbox commands so that they work when called with absolute paths.
...
- Fix confidence_test.sh so that it's not hardcoded to a specific dev environment path.
2015-01-13 14:42:58 -05:00
harrison
b8575b9c7b
Made changes as per tlimoncelli
2014-11-12 00:56:28 -08:00
harrison
26ec9319e3
blackbox_shred_all_files now changes to root dir before running. Moved similar code from blackbox_postdeploy into _blackbox_common.sh as change_to_root function.
2014-11-06 00:28:53 -08:00
harrison
8f2e8150b5
Created blackbox_cat: Decrypt a file, cat it, shred it
2014-11-06 00:19:57 -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
d68af832b3
Fix problem that crashes pinentry
2014-11-05 16:00:49 +00:00
Tom Limoncelli
f77303ea7d
Merge pull request #30 from bendra/master
...
adding cygwin support
2014-11-01 11:56:45 -04:00
Ben Drasin
153d34b26f
adding cygwin support
2014-10-31 15:15:33 -07: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
Harrison Page
05d8c7277c
List of files to be be shredded now prints filenames
2014-10-23 16:57:04 -07:00
bendra
2f9dd20544
allow blackbox_edit to work with either encrypted or plaintext file name
2014-10-19 20:55:47 -07:00
bendra
47b9c1a4f2
fix for svnroot
2014-10-18 23:30:38 -07:00
bendra
f94b8a3764
give proper commit command
2014-10-18 10:21:17 -07:00
bendra
0c3886df65
inital checkin of svn support
2014-10-15 11:01:52 -07:00
tlimoncelli@stackexchange.com
d1a9dbcd2e
Better handle filenames with * and ? in them.
2014-10-14 14:43:03 +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
Å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
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
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 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