Commit Graph

432 Commits

Author SHA1 Message Date
Ben Holden-Crowther
96950da9ec Corrections on new section 2018-04-13 13:31:53 -04:00
Pim Snel
efda6e25ec Fix problems when gpg2 is installed next to gpg (#237)
* implement fixes from https://stackoverflow.com/questions/44247308/blackbox-gpg-decrypt-fails-dont-know-ctb-00
* fix problems when working with gpg2 next to gpg. Add's readme section
* fix anchor
2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
d9c1b2ef60 Update license year 2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
7f144fdfc9 BlackBox vs Blackbox 2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
e3c214567f "BlackBox" vs "blackbox" 2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
24fa4d1e8b BlackBox vs Blackbox or blackbox
consistency
2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
018d2274dd Spelling 2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
f359f8adb8 Spelling (#229) 2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
c06ee80778 Doc: fix typos (#228)
And another one :)
2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
6c46834309 Misspelling (#227) 2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
45fc12c062 Spelling (#226) 2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
87efc79af4 docs: Fix spacing (#225)
tiny spacing correction
2018-04-13 13:31:53 -04:00
Ben Holden-Crowther
f95df2cdb7 Improve formatting
link
2018-04-13 13:31:53 -04:00
Jinn Koriech
8b944f3ac9 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.
2018-04-13 13:31:53 -04:00
Tom Limoncelli
60cfa8a8e7 .gitattributes not created in some situations
Replaces https://github.com/StackExchange/blackbox/pull/146
2018-04-13 13:31:53 -04:00
Jon Bardin
9b5e91c57c 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
2018-04-13 13:31:53 -04:00
Tom Limoncelli
b5dfb744f5 CI 2018-04-13 13:31:53 -04:00
Aymeric Beaumet
0386308e4e Store keys in .blackbox directory (#218) 2018-04-13 13:31:53 -04:00
Tom Limoncelli
d4d0992151 "make clean" should be idempotent. 2018-04-13 13:31:53 -04:00
Tom Limoncelli
0918d76b52 Revert redundant circleci badge 2018-04-13 13:31:53 -04:00
Tom Limoncelli
4b9595788e Add CircleCI badge 2018-04-13 13:31:53 -04:00
Tom Limoncelli
03fda67945 Fixing circleci 2018-04-13 13:31:53 -04:00
Paul Romero
e12f55b5b5 Corrected English in README (#209)
Nonsensical English corrected
2018-04-13 13:31:53 -04:00
Aymeric Beaumet
890b1ce628 Update readme with CircleCI link (#216) 2018-04-13 13:31:53 -04:00
Aymeric Beaumet
d7b4fd544d 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
2018-04-13 13:31:53 -04:00
James Gregory
9165a77d15 Fixed Alpine compatibility (chmod) (#212) 2018-04-13 13:31:53 -04:00
Jessica Evans
74c6d34721 Made LICENSE link (#210) 2018-04-13 13:31:53 -04:00
Paul Romero
25c135ac29 Formatting improvements (#208)
Converted raw URLs to links
2018-04-13 13:31:53 -04:00
BHC
245e1b2750 Update license year (#205)
to 2017
2018-04-13 13:31:53 -04:00
Patrick Sanders
25bc3e64b7 direct repobase message to stderr (#204) 2018-04-13 13:31:53 -04:00
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