Roland Shoemaker
eb3ef4c98c
Merge pull request #509 from r0ro/missing-reg-link
...
Add missing link headers for registration resource update.
2015-07-24 18:26:24 -07:00
Jacob Hoffman-Andrews
9423467142
Switch to our own fork of go-jose.
...
This is the result of `godep save -r ./...` and
`git rm -r -f Godeps/_workspace/src/github.com/square`
Our fork is currently at the head of go-jose when Richard made the local nonce
changes, with the nonce changes added on top. In other words, the newly created
files are exactly equal to the deleted files.
In a separate commit I will bring our own go-jose fork up to the remote head,
then update our deps.
Also note: Square's go-jose repo contains a `cipher` package. Since we don't
make any changes to that package, we leave it imported as-is.
2015-07-24 14:39:00 -07:00
Jacob Hoffman-Andrews
620a012c62
Rewrite go-jose dependencies to our fork.
2015-07-24 14:16:01 -07:00
Roland Shoemaker
7f5da3b8bc
Merge pull request #521 from letsencrypt/remove_v
...
remove incorrect uses of %v, use specific verbs
2015-07-24 13:00:29 -07:00
Jeff Hodges
8975601d5e
correct bodyStr->body
2015-07-23 17:41:15 -07:00
Jacob Hoffman-Andrews
d8ffa41d67
Remove backup logging in case of error.
...
AuditObject already does this for us.
2015-07-23 13:24:57 -07:00
Jacob Hoffman-Andrews
752080871d
Instead of panic on error, log an error.
2015-07-23 09:34:04 -07:00
Jacob Hoffman-Andrews
9a4cd50a93
Use []byte to implicitly marshal to base64.
2015-07-22 17:50:43 -07:00
Jacob Hoffman-Andrews
941df62ad4
Switch to AuditObject for CSR logging.
...
This allows us to log the remote address and registration object along with the
CSR.
Also, restore part of a comment on CertificateRequest that was deleted.
2015-07-22 16:32:11 -07:00
Jacob Hoffman-Andrews
6952aebeb3
Record initial application CSR.
...
Fixes https://github.com/letsencrypt/boulder/issues/493 .
Also, modify MockSyslogWriter so that it implements the SyslogWriter interface
(no pointer receivers).
2015-07-22 15:34:59 -07:00
Jacob Hoffman-Andrews
ce4ca429a6
Merge pull request #502 from letsencrypt/directory
...
Basic ACME directory endpoint
2015-07-22 15:32:15 -07:00
Romain Fliedel
2c2075d2f0
Add missing link headers for registration resource update.
2015-07-22 20:15:21 +02:00
Roland Shoemaker
9f18d6fd71
Remove redudant comments
2015-07-21 19:46:20 -07:00
Roland Shoemaker
b093613191
Add cache helper methods and always send static cache max-age
2015-07-21 18:21:48 -07:00
Roland Shoemaker
0e83538b56
Merge master
2015-07-21 17:48:19 -07:00
Roland Shoemaker
1a3e41ee57
Review fixes
2015-07-21 17:39:16 -07:00
Roland Shoemaker
2d758a7ab6
Basic ACME directory endpoint
2015-07-21 16:55:57 -07:00
Roland Shoemaker
6e03f78ad0
Extend wfe.Certificate tests
2015-07-20 12:27:26 -07:00
Roland Shoemaker
6a2344e1bf
Add config vars and wire them into cmd/boulder and cmd/boulder-wfe
2015-07-17 17:44:03 -07:00
Roland Shoemaker
f08261edb5
Add cache-control headers to terms, issuer, and certificate endpoints
2015-07-17 17:14:39 -07:00
Tom Clegg
ff491962b9
Dry up "method not allowed" handling.
2015-07-16 22:07:44 -04:00
Jeff Hodges
2d4f089980
say Handler returns a thing, not configures
2015-07-16 13:32:46 -07:00
Jeff Hodges
5a69753b6d
correct HandlePaths to Handler in godoc
2015-07-16 13:26:34 -07:00
Jeff Hodges
ef54dda46a
add debug http server to services
...
Currently, the debug http server in every service contains just the
net/http/pprof handlers. This allows us to get CPU, blocking, and memory
profiling remotely.
Along the way, remove all the places we use http.DefaultServeMux (which
includes use of http.Handle and http.HandlerFunc) and use a NewServeMux
for each place.
Fixes #457
2015-07-14 01:28:18 -07:00
Jacob Hoffman-Andrews
738d959417
Merge pull request #429 from letsencrypt/unknown-key
...
Return better message to client if JWK is unknown
2015-07-08 10:50:36 -07:00
Roland Shoemaker
a745160ee6
Merge master
2015-07-06 17:38:04 -07:00
Roland Shoemaker
c233aa8e56
411 - Redirect /terms to wfe.SubscriberAgreementURL
...
- Rebased (jcjones)
2015-07-06 17:16:40 -07:00
Roland Shoemaker
82ccb8bd70
Return better message to client if JWK is unknown
2015-07-06 19:52:00 +01:00
Roland Shoemaker
d9d537f7f4
Add location header to /acme/new-reg if key is already in use
2015-07-06 18:40:40 +01:00
Richard Barnes
ff192330f8
Propagate nonce errors through WFE
2015-06-23 13:15:09 -07:00
Roland Shoemaker
b43d1cf447
Switch logRequestDetails argument to pointer and don't use anonymous functions
2015-06-22 19:45:04 +01:00
Roland Shoemaker
84e43b725d
Rework per @jcjones
2015-06-22 19:02:13 +01:00
Roland Shoemaker
5c01de76cd
Remove termination bool
2015-06-21 14:17:39 -07:00
Roland Shoemaker
3d8a5f4509
Switch to Extra map method for storing extra objects
2015-06-20 16:05:25 -07:00
Roland Shoemaker
f21dc2e146
Merge branch 'master' into wfe-logging
2015-06-19 17:00:05 -07:00
Roland Shoemaker
f228ac41f5
Add connection logging to the WFE
2015-06-19 16:47:54 -07:00
Brad Warren
4655447a35
Reformatted error messages
2015-06-19 14:47:45 -07:00
Brad Warren
426b03b7de
Final cleanup
2015-06-19 14:09:09 -07:00
Brad Warren
9312fb7eae
Allowed for more detailed error messages:
2015-06-19 12:51:09 -07:00
Brad Warren
f19cad3a04
Additional cleanup of error handling
2015-06-18 10:08:59 -07:00
J.C. Jones
41f5788c77
Correct most `go lint` warnings. (274 -> 5)
2015-06-16 22:18:28 -05:00
Brad Warren
b094c81371
Merge remote-tracking branch 'upstream/master' into errors
2015-06-16 10:59:16 -07:00
Brad Warren
3ca3d9b283
Finished adding basic errors
2015-06-15 19:30:11 -07:00
Roland Shoemaker
01c41c1bd0
Merge pull request #354 from letsencrypt/344-internal_server_errors
...
Resolves Issue #344 : Only send InternalServerError when needed
2015-06-15 15:57:04 -07:00
Jacob Hoffman-Andrews
80d5e50e42
Enable revocation by account key.
...
In addition to cert private key. This required modifying the GetCertificate*
functions to return core.Certificate instead of certificate bytes.
2015-06-15 12:33:50 -07:00
J.C. Jones
1474b7f21f
Resolves Issue #344 : Only send InternalServerError when needed
...
Basically, just send InternalServerError when it indicates an internal state
was broken.
2015-06-13 00:21:44 -05:00
Roland Shoemaker
9af2742ae2
Merge pull request #353 from letsencrypt/cors
...
Send CORS headers
2015-06-12 16:05:50 -07:00
Jacob Hoffman-Andrews
8b0fcde9ce
Merge pull request #352 from letsencrypt/allow
...
Send an Allow header whenever we send 405
2015-06-12 14:58:50 -07:00
Jacob Hoffman-Andrews
af64f5a534
Add missing return.
2015-06-12 14:37:26 -07:00
Jacob Hoffman-Andrews
2b2f4110d4
Revoke path should not end in slash.
2015-06-12 13:26:43 -07:00