Commit Graph

367 Commits

Author SHA1 Message Date
jsha fc8b2cf0f7 Merge pull request #80 from rolandshoemaker/thumb
Fix JWK thumbprint computation
2015-04-07 16:04:17 -07:00
Jacob Hoffman-Andrews 84df10fd6e Add empty tests where missing.
This will bring our coverage numbers down to a more meaningful number, and will
mean that we can start aiming to increase them monotonically.
2015-04-07 11:27:33 -07:00
Roland Shoemaker e806efd56d get rid of useless var declarations 2015-04-06 01:20:43 -07:00
Roland Shoemaker 32ad3eaf96 add note about lexicographic order 2015-04-06 01:19:12 -07:00
Roland Shoemaker 26fccef664 much better method using the builtin MarshalJSON 2015-04-06 01:18:19 -07:00
Roland Shoemaker a0efc356a6 Merge remote-tracking branch 'upstream/master' into thumb 2015-04-06 00:32:51 -07:00
Roland Shoemaker f54ccc87c6 proper ComputerThumbprint() function, fixes #74 2015-04-06 00:31:18 -07:00
Roland Shoemaker 16e0799742 not really client so... just ! 2015-04-03 21:05:28 -07:00
Roland Shoemaker 7441fbcb1f remove debug statement 2015-04-03 18:09:25 -07:00
Roland Shoemaker ec477b8986 remove unneeded for loops 2015-04-03 18:02:42 -07:00
Roland Shoemaker fe16dc3ce9 reconnect to amqp channels and rewire clients on amqp server restart/conn dropped 2015-04-03 17:54:11 -07:00
jsha d3c47b7d62 Merge pull request #67 from letsencrypt/fix-error-encoding
Fix encoding of errors in WFE.
2015-03-31 15:06:15 -07:00
Jacob Hoffman-Andrews c9fbc82883 Fix encoding of errors in WFE.
This fixes the problem Kuba reported on IRC of receiving messages like:
[123 34 100 101 116 97 105 108 34 58 34 77 101 116 104 111 100 32 110 111 116 32
97 108 108 111 119 101 100 34 125]

from Boulder.

This changelist also adds the beginning of a test to WFE, but much more is
needed.
2015-03-27 20:49:37 -07:00
J.C. Jones 4ca694a25b Note that you can (and should) run the Docker image read-only. Boulder should never write to disk itself. 2015-03-27 09:42:01 -07:00
jsha e077548886 Merge pull request #65 from letsencrypt/vendorize
Vendorize all dependencies with godep.
2015-03-26 19:12:15 -07:00
Peter Eckersley 84440c4eea Merge pull request #66 from letsencrypt/live-and-testable
Live and testable
2015-03-26 17:28:16 -07:00
Peter Eckersley 1c35c015a6 Merge branch 'master' into live-and-testable
Conflicts:
	va/validation-authority.go
2015-03-26 17:12:07 -07:00
Peter Eckersley 5ec0a97c63 Merge branch 'master' into live-and-testable 2015-03-26 17:09:12 -07:00
Jacob Hoffman-Andrews a0b06f3edd Rewrite paths again. 2015-03-26 17:01:01 -07:00
Jacob Hoffman-Andrews d0d3994b86 Fix test.sh for running on boulder. 2015-03-26 16:35:42 -07:00
jsha e08ea6e9a5 Merge pull request #64 from letsencrypt/real-ports
Remove testing mode from VA
2015-03-26 15:02:37 -07:00
Jacob Hoffman-Andrews 7eff4e68a2 Add empty Makefile so Travis doesn't try `go get` 2015-03-26 14:57:10 -07:00
Jacob Hoffman-Andrews dc68fd4fe1 Update README and remove Nut.toml. 2015-03-26 14:28:58 -07:00
Jacob Hoffman-Andrews 2940bb3c7c Merge branch 'vendorize' into vendorize2
Conflicts:
	analysis/analysis-engine.go
	analysis/analysis-engine_test.go
	ca/certificate-authority.go
	ca/certificate-authority_test.go
	cmd/activity-monitor/main.go
	cmd/boulder-sa/main.go
	cmd/boulder/main.go
	cmd/mkcrl/main.go
	cmd/mkroot/main.go
	cmd/shell.go
	ra/registration-authority_test.go
	rpc/amqp-rpc.go
	rpc/rpc-wrappers.go
2015-03-26 14:21:48 -07:00
Jacob Hoffman-Andrews 99bf61c0ac Add Godeps. 2015-03-26 14:20:34 -07:00
Peter Eckersley 316d3a6925 Unless we want multiple Content-Type headers, Set them rather than Add()ing
(Also restore myteriously missing portion of previous commit)
2015-03-26 10:08:27 -07:00
Peter Eckersley 24d48a0c36 http.Error sets the wrong content-type
Also gofmt fixes
2015-03-26 10:08:27 -07:00
Peter Eckersley 60d8446eac A more accurate and complete attempt at Content-Type setting 2015-03-26 10:08:27 -07:00
Jacob Hoffman-Andrews 9a628b7b16 Allow running test.sh from a symlinked dir. 2015-03-25 18:56:10 -07:00
Jacob Hoffman-Andrews 6e48708a74 Add comment about PSSOptions to jws.go. 2015-03-25 18:56:00 -07:00
Jacob Hoffman-Andrews c7c5617b6c Remove unnecessary go get. 2015-03-25 18:55:49 -07:00
Jacob Hoffman-Andrews 46fc2168ff Vendorize all cfssl paths properly.
Even though these are redundant in terms of fetching, they
are required for Nut to do proper rewriting.
2015-03-25 18:55:04 -07:00
Jacob Hoffman-Andrews bb2e03ed36 Fix policy test. 2015-03-25 18:54:17 -07:00
Jacob Hoffman-Andrews 53901dc073 Fix JOSE test. 2015-03-25 18:52:31 -07:00
Peter Eckersley 7377c5c362 Content-Type: application/pkix-cert
- Minimally, send it when it applies
 - Flag that none of this implementation really matches the spec;
   probably the spec should change?
2015-03-25 18:26:18 -07:00
Jacob Hoffman-Andrews add25f021c Merge branch 'vendorize' of github.com:letsencrypt/boulder into vendorize 2015-03-25 17:12:21 -07:00
Jacob Hoffman-Andrews f371fa9599 Vendorize go-sql-driver. 2015-03-25 17:11:59 -07:00
J.C. Jones ccaac03eb3 Dockerfile update & don't bail out of tests early
- Also added "policy" to the test list. It got forgotten.
2015-03-25 17:11:16 -07:00
Jacob Hoffman-Andrews 34f88abbb0 Update some files that didn't get deps rewritten. 2015-03-25 16:55:40 -07:00
Jacob Hoffman-Andrews 57f72e6671 Fix identifier concatenation to provide string. 2015-03-25 16:01:34 -07:00
Jacob Hoffman-Andrews 41651ca568 Fix up some files that I missed in vendor rewrite 2015-03-25 15:40:52 -07:00
Jacob Hoffman-Andrews 0435e0feb6 Merge branch 'master' into vendorize
Conflicts:
	analysis/analysis-engine.go
	analysis/analysis-engine_test.go
	cmd/activity-monitor/main.go
	cmd/boulder-start/main.go
2015-03-25 15:18:20 -07:00
Jacob Hoffman-Andrews ddc0d7dcf5 Vendorize all dependencies with `nut`.
Nut, https://github.com/jingweno/nut, is a tool to manage Go dependencies and
versioning by vendorizing them, i.e. including them in your own repo.

This makes version management easier, as well as authenticating the contents of
this repository.

Also inthis change: Factor out the testing commands from .travis.yml to make it
easier to run them by hand. Add Vim swap files to .gitignore.
2015-03-25 15:11:40 -07:00
Peter Eckersley ccbbeccb00 gofmt 2015-03-25 14:52:50 -07:00
Peter Eckersley 532832452c Fix stray VA instantiation 2015-03-25 13:35:16 -07:00
Peter Eckersley 5eac0cda09 Add a "TestMode" config option
This makes the same change as PR #59, but allows test mode to be turned
back on with a config option.
2015-03-25 12:58:57 -07:00
James 'J.C.' Jones 4b962b9025 Merge pull request #61 from letsencrypt/jcj-audit_logging
Add syslog to all Authorities. Closes issue #23.
2015-03-25 12:12:02 -07:00
J.C. Jones f4c9d2146d Add top-level comment for the Activity Monitor executable. 2015-03-25 11:51:20 -07:00
J.C. Jones 33ac212b70 Add logging infrastructure to all authorities and commands 2015-03-24 19:06:11 -07:00
J.C. Jones f1efff92aa Improve coverage in analysis-engine 2015-03-24 17:36:26 -07:00