Commit Graph

121 Commits

Author SHA1 Message Date
Jacob Hoffman-Andrews 7d8ef9a019 Fix tests and tidy up for review. 2015-04-18 23:44:42 -04:00
Jacob Hoffman-Andrews 431ad092eb Query certs by sequential part of serial number.
Also refactor WFE for better initialization and change StorageAuthority to
support this type of query.
2015-04-18 00:48:19 -04:00
Roland Shoemaker f839d89f25 add return 2015-04-16 17:44:14 -07:00
Roland Shoemaker e7f2f4f90c hook cmd.ProfileCmd into all the polylithic clients 2015-04-12 20:26:02 -07:00
Roland Shoemaker f64665cd1b better statsd hooks 2015-04-12 18:02:00 -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
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
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
J.C. Jones 33ac212b70 Add logging infrastructure to all authorities and commands 2015-03-24 19:06:11 -07:00
J.C. Jones 4e0aa900c9 Rebase 'lint-errcheck-fixes' of git://github.com/mvdan/boulder to letsencrypt/master
Conflicts:
	cmd/boulder-start/main.go
	core/interfaces.go
	core/objects.go
	core/util.go
	ra/registration-authority.go
	ra/registration-authority_test.go
	rpc/rpc-wrappers.go
	va/validation-authority.go
	wfe/web-front-end.go
2015-03-20 18:01:03 -07:00
Richard Barnes 19fada5b27 Support for subscriber agreement 2015-03-15 23:47:55 -04:00
Richard Barnes f5546ad407 Miscellaneous fixes to get e2e working 2015-03-15 22:42:35 -04:00
Richard Barnes 96bd7e215a Further plumbing of registrations 2015-03-15 15:33:05 -04:00
Richard Barnes d938deb3fd Separate resources for challenges [initial] 2015-03-14 19:07:16 -04:00
Richard Barnes 8f4ea0efd8 Adapting to point to mainlined JOSE 2015-03-13 13:11:04 -07:00
Daniel Martí 70ab4a4605 Log problems when writing response bodies 2015-03-13 08:46:43 +01:00
Daniel Martí 91b12a2e1a Simplify if err != nil structure when applicable 2015-03-12 12:46:18 +01:00
Daniel Martí 5fe97f1895 Replace []byte with nil, simplify response logic 2015-03-12 12:38:46 +01:00
Richard Barnes e8126fd390 Pulling out wfe module 2015-03-10 14:33:22 -07:00