Commit Graph

402 Commits

Author SHA1 Message Date
Tom Limoncelli
6831a83196 Improve tip about storing GPG keys 2018-04-13 13:31:53 -04:00
Tom Limoncelli
3784c0551c NEW: .gitattributes Set Unix-only files to eol=lf 2018-04-13 13:31:53 -04:00
Jinn Koriech
620f77fbe9 Silence 'not changed' output during keychain import (#200)
Previously the keychain import appears to have redirected stderr to stdout,
silenced lines that indicate a key has 'not changed' then send the output back
to stdout.  This behaviour has been carried over to the new GnuPG-2.1
compatible implementation.
2018-04-13 13:31:53 -04:00
Tom Limoncelli
bdd983b96d Improve info about expired GPG keys. 2018-04-13 13:31:53 -04:00
Tom Limoncelli
e1f03e4a74 Blackbox should work with Windows better WRT crlf. 2018-04-13 13:31:53 -04:00
Tom Limoncelli
ddda729b7f Update CHANGELOG.md 2018-04-13 13:31:53 -04:00
Tom Limoncelli
aa2e2a4dc6 tools/confidence_test.sh: Add explicit test for external tools. 2018-04-13 13:31:53 -04:00
Tom Limoncelli
4e0bba8756 tools/auto_system_test: Add comments. 2018-04-13 13:31:53 -04:00
Tom Limoncelli
9ee69f7f5a "gpg --export" should export LANG=C.UTF-8 to be safe. 2018-04-13 13:31:53 -04:00
Tom Limoncelli
e99e9056ad tools/confidence_test.sh: "export LANG=C.UTF-8" to be safe. 2018-04-13 13:31:53 -04:00
Tom Limoncelli
4435e577ff "make test" now uses "expect" to not prompt for passwords. 2018-04-13 13:31:53 -04:00
Tom Limoncelli
63ac594751 tools/confidence_test.sh: Set pinentry program to pinentry-tty 2018-04-13 13:31:53 -04:00
Robert Taylor
3e60c0c80e Fixing physical_directory_of function for cases when target directory lives in root. (#194) 2018-04-13 13:31:53 -04:00
Tom Limoncelli
d81cc6653f Fix https://github.com/StackExchange/blackbox/issues/193
Add unit tests to tools/confidence_test.sh to verify admin operations work.
2018-04-13 13:31:52 -04:00
tlimoncelli@stackoverflow.com
0002c97878 Improve FreeBSD compatibility 2018-04-13 13:31:52 -04:00
tlimoncelli@stackoverflow.com
3b0f0194a0 tools/confidence_test.sh: now works with gnupg-2.0 and gnupg-2.1 2018-04-13 13:31:52 -04:00
tlimoncelli@stackoverflow.com
ca1d10ba80 tools/confidence_test.sh: now works with gnupg-2.0 again 2018-04-13 13:31:52 -04:00
tlimoncelli@stackoverflow.com
d9f1c9ef1f tools/confidence_test.sh: Handle gpg 2.1's new pubring filename. 2018-04-13 13:31:52 -04:00
tlimoncelli@stackoverflow.com
836657ebdf blackbox_shred_all_files: BUGFIX: Does not shred files with spaces. 2018-04-13 13:31:52 -04:00
tlimoncelli@stackoverflow.com
5767f22445 blackbox_removeadmin: Disable gpg's confirmation. 2018-04-13 13:31:52 -04:00
Tom Limoncelli
c2ce39b719 Sync mk_rpm_fpmdir from master 2018-04-13 13:31:52 -04:00
Tom Limoncelli
fa0b4c6087 Update CHANGELOG.md 2018-04-13 13:31:52 -04:00
Matthew
415f7664b5 shred_file() outputs warning message to stderr. (#192) 2018-04-13 13:31:52 -04:00
Simon Gate
5a05be06c7 Don't complain about GPG_AGENT_INFO if using newer gpg-agent (#189) 2018-04-13 13:31:52 -04:00
William Belle
dd0234874b Fix typo on README (#187)
Thanks!
2018-04-13 13:31:52 -04:00
Graham Lyons
bb9f8584c3 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.
2018-04-13 13:31:52 -04:00
Tom Limoncelli
1ce8546efa "make test" should be an alias for "make confidence". 2018-04-13 13:31:52 -04:00
Tom Limoncelli
c89951c3db make_tempdir must create shorter paths. 2018-04-13 13:31:52 -04:00
Tom Limoncelli
ba2bfcc0de Fixing "make confidence" (HT to 98b928c0e8) 2018-04-13 13:31:52 -04:00
Tom Limoncelli
f3d27240e2 README.md: Add info about our new mailing list. 2018-04-13 13:31:52 -04:00
Tom Limoncelli
24c9a22bae Add a CHANGELOG.md 2018-04-13 13:31:52 -04:00
Tino Breddin
653cfb618e [FreeBSD] Fix use of chmod (#180)
LGTM

Thanks for the fix!
2018-04-13 13:31:52 -04:00
Ben Watson
d7ed89da4c 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
2018-04-13 13:31:52 -04:00
Joseph Herlant
7e3eb624f5 Remove the key from the keyring when removing an admin (#173)
Thanks for the submission!
2018-04-13 13:31:52 -04:00
Tino Breddin
d4e8acd5ef Add FreeBSD support (#172) 2018-04-13 13:31:52 -04:00
Jason Price
7ca433361e 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
2018-04-13 13:31:52 -04:00
Dave Jachimiak
2f3dc405f1 ignore backup files and secring.gpg in $BLACKBOXDATA (#169) 2018-04-13 13:31:52 -04:00
Tom Limoncelli
ad0673841e merged 2018-04-13 13:31:24 -04:00
Jose Diaz-Gonzalez
05c87ad601 Check return value contents
Closes #156
2018-04-13 13:30:16 -04:00
Amos Shapira
1aba4d8503 Added instructions to make "git diff" work
Added a paragraph about configuring `git` to decrypt files for diff/log
2018-04-13 13:30:16 -04:00
Yves Dorfsman
21cdc52355 Tilde doesn't get expanded when in between quotes. 2018-04-13 13:30:16 -04:00
Yves Dorfsman
05df9fdb52 Use PKGNAME variable defined above. 2018-04-13 13:30:16 -04:00
jonathan vanasco
689952582d added blackbox_listadmins, which just displays active admins via cat "$BB_ADMINS" 2018-04-13 13:30:16 -04:00
tlimoncelli@stackexchange.com
180ee4076e Random 2016-05-17 12:58:13 -04: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
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