Commit Graph

424 Commits

Author SHA1 Message Date
Tom Limoncelli 89566f7dd2 Merge pull request #223 from jinnko/master
Exclude our default keyring from import
2017-11-11 08:47:21 -08:00
Jinn Koriech 3fda14fd23 Exclude our default keyring from import
By default GPG will continue to perform actions against our default keyring.

During the keychain import stage this results in the export of both the
keyring for the repository we're working on, plus our own default keyring.
The import phase then continues to import all these exported keys, which
include the entries from our default keyring, for which all those entries
already exist.  If you have a lot of keys in your default keyring this takes a
long time, and can be noisy due to validation, yet offers absolutely no value.

To avoid all this overhead we only need to pass the `--no-default-keyring`
option to GPG during this export phase.  The result will still be what we're
expecting - i.e. that all entries from the repository pubring are imported
into our default keyring.
2017-11-11 09:34:59 +00:00
Tom Limoncelli 9ff5892ddf .gitattributes not created in some situations
Replaces https://github.com/StackExchange/blackbox/pull/146
2017-11-07 10:57:08 -05:00
Jon Bardin 043b66dc50 Fixes issue were .gitignore is not included in the commit when you register new file (#206)
* this should fix the .gitignore not be including in the commit when registering a new file
2017-11-07 07:52:34 -08:00
Tom Limoncelli 972abfc03f CI 2017-09-18 17:31:02 -04:00
Aymeric Beaumet 60e782a09e Store keys in .blackbox directory (#218) 2017-09-17 18:13:36 -04:00
Tom Limoncelli 103106e08f "make clean" should be idempotent. 2017-09-17 17:39:14 -04:00
Tom Limoncelli ca99a1ebb4 Revert redundant circleci badge 2017-09-16 11:07:51 -04:00
Tom Limoncelli 318e21b4c8 Add CircleCI badge 2017-09-16 10:54:11 -04:00
Tom Limoncelli 57b5f59ca7 Fixing circleci 2017-09-16 10:40:12 -04:00
Paul Romero 53cc02e419 Corrected English in README (#209)
Nonsensical English corrected
2017-09-15 12:00:30 -04:00
Aymeric Beaumet 3cbfb2ba8c Update readme with CircleCI link (#216) 2017-09-15 11:40:39 -04:00
Aymeric Beaumet 2e894ea86f Run the tests on a CI (#215)
* Add CircleCI and make tests pass on ubuntu:16.04
* Add badge to readme
* Add debian stable to CircleCI
* Fix pkill on CircleCI debian
2017-09-15 11:15:12 -04:00
James Gregory 0626efa7e8 Fixed Alpine compatibility (chmod) (#212) 2017-09-01 05:01:20 -07:00
Jessica Evans c60ca184f3 Made LICENSE link (#210) 2017-08-28 04:24:27 -07:00
Paul Romero 0ec0cd3762 Formatting improvements (#208)
Converted raw URLs to links
2017-08-24 04:23:09 -07:00
BHC 4528796279 Update license year (#205)
to 2017
2017-08-22 10:29:15 -07:00
Patrick Sanders b483f65c0b direct repobase message to stderr (#204) 2017-08-17 08:57:04 -07:00
Tom Limoncelli ced82815cf Improve tip about storing GPG keys 2017-08-08 09:56:23 -04:00
Tom Limoncelli a3032aec07 NEW: .gitattributes Set Unix-only files to eol=lf 2017-07-14 14:38:00 -04:00
Jinn Koriech c91b29be12 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.
2017-07-04 10:32:48 -04:00
Tom Limoncelli 9468ea69ec Improve info about expired GPG keys. 2017-06-16 12:04:08 -04:00
Tom Limoncelli 9966283368 Blackbox should work with Windows better WRT crlf. 2017-06-16 08:16:07 -04:00
Tom Limoncelli 25fd63f792 Update CHANGELOG.md v1.20170611 2017-06-11 08:34:57 -04:00
Tom Limoncelli 7c4fa4f4be tools/confidence_test.sh: Add explicit test for external tools. 2017-06-01 09:48:25 -04:00
Tom Limoncelli 9006c04c66 tools/auto_system_test: Add comments. 2017-06-01 09:48:13 -04:00
Tom Limoncelli 800fe098a6 "gpg --export" should export LANG=C.UTF-8 to be safe. 2017-05-29 19:39:01 -04:00
Tom Limoncelli 7029e44453 tools/confidence_test.sh: "export LANG=C.UTF-8" to be safe. 2017-05-29 19:37:56 -04:00
Tom Limoncelli 48cc17ac0a "make test" now uses "expect" to not prompt for passwords. 2017-05-29 19:31:26 -04:00
Tom Limoncelli d78faf59d0 tools/confidence_test.sh: Set pinentry program to pinentry-tty 2017-05-29 19:09:36 -04:00
Robert Taylor 09a62cb1d2 Fixing physical_directory_of function for cases when target directory lives in root. (#194) 2017-05-29 18:00:06 -04:00
Tom Limoncelli 7649c9f00b Fix https://github.com/StackExchange/blackbox/issues/193
Add unit tests to tools/confidence_test.sh to verify admin operations work.
2017-05-15 11:10:01 -04:00
tlimoncelli@stackoverflow.com 1a22f77c82 Improve FreeBSD compatibility 2017-05-15 07:50:30 -04:00
tlimoncelli@stackoverflow.com 4bc97049ab tools/confidence_test.sh: now works with gnupg-2.0 and gnupg-2.1 2017-05-14 18:48:59 -04:00
tlimoncelli@stackoverflow.com 50ac1697c3 tools/confidence_test.sh: now works with gnupg-2.0 again 2017-05-14 17:52:27 -04:00
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 https://github.com/painhardcore/blackbox/commit/98b928c0e80e2d1911f2db5a558cd5b93375f1da) 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