Commit Graph

1390 Commits

Author SHA1 Message Date
Jeremy Gillula cd59094140 Now we report data to statsd at a command line configurable rate 2015-07-28 15:56:45 -07:00
Jeremy Gillula 1d271c7964 Fixing errors in previous commit. 2015-07-28 14:35:20 -07:00
Jeremy Gillula 65c923d547 we now ignore duplicate additions and require three different command line args 2015-07-28 14:03:56 -07:00
Jeff Hodges 20c0fd1ad4 remove recently mooted test files
These are no longer needed as of #533.
2015-07-28 13:21:50 -07:00
Roland Shoemaker 3a5f96c9e1 Remove debug statement 2015-07-28 10:33:26 -07:00
Romain Fliedel 36cba96fb2 update tests after jwk encoding fix. 2015-07-28 16:25:30 +02:00
Romain Fliedel d115e5cb60 Resync with latest letsencrypt/go-jose to fix jwk encoding. 2015-07-28 16:25:30 +02:00
Romain Fliedel c5d1189ae8 Add tests for GetLatestValidAuthorization. 2015-07-28 11:45:08 +02:00
Romain Fliedel 236a90afda fix sql request to get only valid authorizations. 2015-07-28 11:45:08 +02:00
Roland Shoemaker ae06aeee30 Move parseTime check to NewDbMap so binaries that don't use a SSA still get the checking 2015-07-27 20:03:20 -07:00
Tom Clegg 1993dc44c6 Allow DNS cache to follow CNAME/DNAME for us when looking up CAA.
Only if the cache returns nothing for the CNAME query do we need to
look up CNAME/DNAME explicitly, in order to check CAAs on the parent
of the CNAME target rather than the parent of the original name.
2015-07-27 22:10:44 -04:00
Roland Shoemaker bc6661f498 Add LOCATE to SQL query to filter registrations with no email contacts, currently breaks tests as SQLite doesn't support this operator 2015-07-27 18:51:15 -07:00
Tom Clegg 8ec9723166 Do not test CAA lookup behavior for "CNAME+CAA both exist." 2015-07-27 21:51:14 -04:00
Roland Shoemaker 33a79c3910 Pull out previous parseTime check 2015-07-27 17:57:14 -07:00
Roland Shoemaker 33b59530c6 typo 2015-07-27 17:46:00 -07:00
Roland Shoemaker faed5cc241 Merge branch 'master' into mysql-uri 2015-07-27 17:40:15 -07:00
Roland Shoemaker 9b715a6e9e If using MySQL check for parseTime=true in DSN, if not there add it 2015-07-27 17:39:31 -07:00
Jacob Hoffman-Andrews c7549c2bcc Merge pull request #543 from letsencrypt/ocsp-first-update-fix
Fix OCSP updating.
2015-07-27 17:13:08 -07:00
Jacob Hoffman-Andrews 4e1051bfdc Fix OCSP updating.
Fixes https://github.com/letsencrypt/boulder/issues/539.

Passes a pointer to tx.Update() in the SA, resolving the gorp error we were
previously receiving in UpdateOCSP.

Fixes CA code to properly receive the error from UpdateOCSP, so future errors
will be logged correctly.
2015-07-27 16:40:04 -07:00
Roland Shoemaker e05f02eb8d Fix formatting 2015-07-27 15:07:26 -07:00
Roland Shoemaker 14700671af Review fixes, the sequel 2015-07-27 15:05:43 -07:00
Roland Shoemaker effe423eed Fix go-jose dep path 2015-07-27 13:11:05 -07:00
Roland Shoemaker fdc84c95f7 Update configs 2015-07-27 12:47:45 -07:00
Roland Shoemaker abd06564ec Merge branch 'master' into mailer 2015-07-27 12:46:19 -07:00
Roland Shoemaker 145790d9c3 Review fixes 2015-07-27 12:46:09 -07:00
Romain Fliedel 2b275405c1 remove authorizations member for certificate request. 2015-07-27 20:26:56 +02:00
Romain Fliedel 4bbd0fdccd Remove the need for a client to submit authorization urls when requesting a certificate. 2015-07-27 20:26:56 +02:00
Roland Shoemaker 7198f9e166 Merge pull request #537 from letsencrypt/ocsp-fix-updater
Change core.Certificate.DER to []byte.
2015-07-26 15:03:11 -07:00
Jacob Hoffman-Andrews aef83a3d02 Change core.Certificate.DER to []byte.
Fixes https://github.com/letsencrypt/boulder/issues/519.

The previous type, JSONBuffer, was triggering a subtle bug when scanning
multiple rows from MySQL.  Since this struct is not serialized as JOSE it
doesn't need to have the JSONBuffer type.

The test for this fix is blocked on
https://github.com/letsencrypt/boulder/issues/132, so I filed a separate issue
to follow up with a test:
https://github.com/letsencrypt/boulder/issues/536
2015-07-26 01:34:02 -07:00
Tom Clegg a843772736 Follow CNAME and DNAME during CAA lookups, cf. RFC 6844. 2015-07-26 01:25:30 -04:00
Jacob Hoffman-Andrews 79b2204319 Merge pull request #533 from tomclegg/dedup-test-scripts
De-duplicate start.py and test/amqp-integration-test.py
2015-07-25 21:06:03 -07:00
Roland Shoemaker 713f7ea352 Merge pull request #528 from letsencrypt/remove_posts
remove dead POST code in wfe.Certificate
2015-07-25 16:23:25 -07:00
Tom Clegg 51a9fe51f1 Remove 100K-second max runtime, just run until ^C or server crash. 2015-07-25 18:20:09 -04:00
Tom Clegg 2914ba6af5 Fix "main process kept alive forever by ToSServerThread." 2015-07-25 18:17:02 -04:00
Jeff Hodges b0402d1880 add POST back to wfe Authz test 2015-07-25 14:16:57 -07:00
Tom Clegg e6ca449d34 Bring up a stub ToS server in test scripts. 2015-07-25 16:21:40 -04:00
Tom Clegg e871b30cbf Shut down everything if any server exits before ^C/timer. Fixup log messages. 2015-07-25 15:59:38 -04:00
Tom Clegg 43c738cc93 Set GORACE env var only in "go build", not everywhere. 2015-07-25 14:51:22 -04:00
Tom Clegg d30ea8a4b6 Distinguish between "lookup failed" and "CNAME does not exist" in LookupCNAME. 2015-07-25 05:47:15 -04:00
Tom Clegg de5cce8c03 De-duplicate start.py and test/amqp-integration-test.py 2015-07-25 04:04:20 -04:00
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
Roland Shoemaker 8a577df190 Merge master 2015-07-24 17:41:14 -07:00
Jacob Hoffman-Andrews 048dfa9242 Merge pull request #526 from letsencrypt/go-jose-fork
Switch to our own fork of go-jose
2015-07-24 17:17:48 -07:00
Roland Shoemaker 4e5af8acf1 Add weirdly deleted file 2015-07-24 17:00:24 -07:00
Jacob Hoffman-Andrews 1564f1c1a3 Merge pull request #529 from letsencrypt/remove_pkcs11_tag
remove pkcs11 tag for build and test scripts
2015-07-24 16:53:39 -07:00
Jeff Hodges 0ea7b36b6a remove dead POST code in wfe.Certificate
The Certificate endpoint (a.k.a. /acme/cert) had code that took POSTs
but always returned errors when they were hit.
2015-07-24 16:46:49 -07:00
Jeff Hodges f61dad3856 correct README discussion of godep 2015-07-24 16:39:33 -07:00
Roland Shoemaker 5ff23e54d0 Remvoe cruft 2015-07-24 16:38:12 -07:00
Roland Shoemaker bd9286dd5b Merge branch 'master' into mailer 2015-07-24 16:36:50 -07:00
Roland Shoemaker 19067da6a9 More tests 2015-07-24 16:36:03 -07:00