Commit Graph

389 Commits

Author SHA1 Message Date
tlimoncelli@stackoverflow.com
eaa6d06b3e tools/confidence_test.sh: Handle gpg 2.1's new pubring filename. 2017-05-13 11:12:53 -04:00
tlimoncelli@stackoverflow.com
9c6f13fb80 blackbox_shred_all_files: BUGFIX: Does not shred files with spaces. 2017-05-13 11:12:05 -04:00
tlimoncelli@stackoverflow.com
849ec3138b blackbox_removeadmin: Disable gpg's confirmation. 2017-05-13 11:11:39 -04:00
Tom Limoncelli
49892c307c Sync mk_rpm_fpmdir from master 2017-05-04 10:23:10 -04:00
Tom Limoncelli
53ed9d601a Update CHANGELOG.md 2017-05-03 13:09:26 -04:00
Matthew
be425ed76c shred_file() outputs warning message to stderr. (#192) 2017-05-02 06:33:07 -04:00
Simon Gate
8728290122 Don't complain about GPG_AGENT_INFO if using newer gpg-agent (#189) 2017-04-26 08:34:20 -04:00
William Belle
2f2289b5e3 Fix typo on README (#187)
Thanks!
2017-03-24 09:04:25 -04:00
Graham Lyons
44c9934293 Use the rm command with -P as a shred fallback (#179)
* Use the `rm` command with `-P` as a shred fallback

The newer versions of OSX (Sierra) have neither `shred` nor `srm`.
They do have `rm` with the `-P` option, so we can fall back to that
before resorting to plain old `rm`.

* Add double-quotes and braces to the shell variable.

We should treat the variable as a string, and we should also be safe
when interpolating it.
2017-03-10 08:20:43 -05:00
Tom Limoncelli
cf984c26ee "make test" should be an alias for "make confidence". 2017-02-22 19:31:55 +00:00
Tom Limoncelli
5df0d21be6 make_tempdir must create shorter paths. 2017-02-20 12:15:05 -05:00
Tom Limoncelli
2d1410599d Fixing "make confidence" (HT to 98b928c0e8) 2017-02-20 16:47:33 +00:00
Tom Limoncelli
9bee252e24 README.md: Add info about our new mailing list. 2017-02-20 10:54:17 -05:00
Tom Limoncelli
e91344d404 Add a CHANGELOG.md 2017-02-16 15:41:59 -05:00
Tino Breddin
bd0fcd181c [FreeBSD] Fix use of chmod (#180)
LGTM

Thanks for the fix!
2017-01-20 17:12:57 -05:00
Ben Watson
818db98506 Requiring a file to be entered to finish editing (#175)
* Requiring a file to be entered to finish editing

Running blackbox_edit_end without an argument doesn't currently print out a warning that no files are being changed. A developer in my team who was new to Blackbox committed a decrypted file (and made no changes to the GPG file) as they didn't realise the command hadn't worked.

The check I've added should help to avoid these errors.

* Adding argument check to start editing
2016-12-12 14:07:33 +00:00
Joseph Herlant
1b7c8c880b Remove the key from the keyring when removing an admin (#173)
Thanks for the submission!
2016-11-22 13:43:08 -05:00
Tino Breddin
fba77f092a Add FreeBSD support (#172) 2016-11-08 13:49:42 -05:00
tlimoncelli@stackexchange.com
3e9091722c Merge branch 'jvanasco-feature-listadmins' 2016-10-07 16:19:41 -04:00
tlimoncelli@stackexchange.com
57dc69a928 Merge branch 'feature-listadmins' of https://github.com/jvanasco/blackbox into jvanasco-feature-listadmins 2016-10-07 16:19:13 -04:00
Jason Price
598896ef48 Add list admins commandline tool. (#170)
* adding a list_admins command

* updating README and V2 ideas to include list_admins

* fix documentation misses

* add list_admins to the toolchain
2016-10-06 11:26:43 -04:00
Dave Jachimiak
31cf506684 ignore backup files and secring.gpg in $BLACKBOXDATA (#169) 2016-09-23 09:26:22 -04:00
Jon Bardin
4fe27a04c9 Allow parallel shredding of files (#167)
* to log which files were shredded
* allow parallel shredding of files ot lower time to shred
2016-08-31 09:29:54 -04:00
Tom Limoncelli
f108d80027 Merge pull request #164 from josegonzalez/patch-1
Check return value contents
2016-05-26 13:47:41 -04:00
Jose Diaz-Gonzalez
21c0b68213 Check return value contents
Closes #156
2016-05-26 11:54:14 -04:00
Tom Limoncelli
65f40f8f6e Merge pull request #160 from dorfsmay/master
Use PKGNAME variable defined above.
2016-05-23 10:02:08 -04:00
Tom Limoncelli
f7a100fa8d Merge pull request #163 from amosshapira/master
#162: Added instructions to make "git diff" work
2016-05-23 10:00:58 -04:00
Amos Shapira
2be3ddaddf Added instructions to make "git diff" work
Added a paragraph about configuring `git` to decrypt files for diff/log
2016-05-22 11:45:41 +10:00
Yves Dorfsman
1ae578b7cf Tilde doesn't get expanded when in between quotes. 2016-05-20 16:15:15 -06:00
Yves Dorfsman
c3f7e12890 Use PKGNAME variable defined above. 2016-05-20 15:08:46 -06:00
Tom Limoncelli
eaadca8871 Merge pull request #158 from mettjus/patch-1
Improve command list in README
2016-05-16 09:32:51 -04:00
mettjus
4a32c95f53 Improve command list in README
Explicitly display for each command if it requires a target (a file or a key) or it doesn't.
2016-05-13 23:47:23 +02:00
tlimoncelli@stackexchange.com
1354628ed5 Version2-Ideas.md: Windows compatibility clarification. 2016-05-10 15:01:27 -04:00
jonathan vanasco
435a3c073f added blackbox_listadmins, which just displays active admins via cat "$BB_ADMINS" 2016-04-25 12:53:36 -04:00
tal@whatexit.org
1b6c6eadc9 Initial draft. 2016-04-24 09:14:56 -04:00
Tom Limoncelli
ead98b03ca Merge pull request #147 from billrawlinson/mingw-gpgagent
remove MinGW dependecy on GpG4Win (gpg-agent) in readme.md
2016-04-23 06:59:08 -04:00
Tom Limoncelli
93a01c82c8 Merge pull request #150 from jvanasco/fixes-subversion
Fixes for subversion
2016-04-23 06:58:22 -04:00
jonathan vanasco
4bb9c055ca added docs 2016-04-22 17:32:25 -04:00
jonathan vanasco
f8c1653e09 some updates for subversion 2016-04-22 17:30:28 -04:00
Bill Rawlinson
de05e1f8e7 remove MinGW dependecy on GpG4Win (gpg-agent)
The gpg-agent that ships with GpG4Win is a version 2 gpg agent and only works with gpg2.  The gpg in MinGW is gpg 1.x and it doesn't pick up this gpg-agent.

However, everything still works - you just have to enter your password for each file you decrypt.  Slightly onerous but not a huge deal breaker.

I notice there is  away to specify your own gpg versoin in the _blackbox_common.sh file but I don't really know how that works.  If someone were to specify to use gpg2 then they could probably use the agent in Gpg4Win but I don't know and don't know how to test that.
2016-04-15 14:28:15 -04:00
Tom Limoncelli
ef08dcc6b3 Merge pull request #145 from billrawlinson/MingwGpgAndMkTemp
Mingw gpg and mk temp
2016-04-14 11:07:54 -04:00
Bill Rawlinson
b9d5cd7716 specify git version
Older git for windows MinGW didn't support updating the plain text files in keyfiles/live/blackbox-admins.txt and blackbox-files.txt due to an error `cannot make pipe for process substitution function not supported`

The newer version of Git (which is also more secure) also resolves this issue.
2016-04-14 10:00:53 -04:00
Bill Rawlinson
fa68b56927 added link to git 2016-04-14 09:22:18 -04:00
Bill Rawlinson
8769474035 added documentation for MINGW users 2016-04-14 09:21:05 -04:00
tal@whatexit.org
1643ea7fd9 "make confidence": Use GID numbers, not names. Makes tests less fragile. 2016-03-15 21:22:29 -04:00
tal@whatexit.org
3a4a79284c Add more debugging output to "make confidence" 2016-03-15 19:14:09 -04:00
Tom Limoncelli
bf36197c5b Merge pull request #143 from danslimmon/noshredwarn
Warn user if there isn't a secure deletion utility
2016-03-14 15:02:06 -04:00
Dan Slimmon
fc63e24dcf Warn user if there isn't a secure deletion utility
Otherwise, somebody with neither shred nor srm installed could blithely
go on using Blackbox assuming that their working copies are getting
securely deleted.
2016-03-14 18:53:29 +00:00
Tom Limoncelli
ee1bbc8092 Merge pull request #142 from sobolevn/master
added git-secret into "Alternatives" section
2016-03-12 15:16:31 -08:00
sobolevn
3e8578d687 added git-secret into Alternatives 2016-03-10 17:26:39 +03:00