Commit Graph

2042 Commits

Author SHA1 Message Date
Jeff Hodges 17674cb3a7 Merge branch 'master' into sig-reuse 2015-10-06 17:37:30 -07:00
Jacob Hoffman-Andrews f2ac01b874 Merge pull request #932 from letsencrypt/dump-fix
Fix policy rule dump
2015-10-06 15:56:14 -07:00
bifurcation f210ee0a9f Merge branch 'master' into sig-reuse 2015-10-06 18:01:50 -04:00
Roland Shoemaker faa4ba2668 Fix policy rule dump 2015-10-06 14:06:04 -07:00
Roland Bracewell Shoemaker 22b7e0b636 Merge pull request #931 from letsencrypt/unpad
remove some allocations from B64enc codepath
2015-10-06 11:51:00 -07:00
Jeff Hodges 06879cb44f remove some allocations from B64enc codepath
B64enc makes some nasty allocations through its use of strings.Replace
in unpad. This changes that strings.Replace into a simple for-loop.

B64enc gets used in many places, including the rpc library on every
request and response. While we should probably not use it in the rpc
library (#909), there are enough other places it's used (now or in the near
future) that make this valuable.

Was a performance problem found during early load-testing (#20) of the
CA. More to come.
2015-10-06 00:31:51 -07:00
Jeff Hodges c11f533ed1 Merge branch 'master' into sig-reuse 2015-10-06 00:21:56 -07:00
Jacob Hoffman-Andrews 86835575ec Merge pull request #925 from letsencrypt/correct_default_charset
correct charset for contact column
2015-10-05 22:09:33 -07:00
Richard Barnes f064c6d5c7 Merge branch 'master' to 'sig-reuse' 2015-10-05 23:16:16 -04:00
Jacob Hoffman-Andrews 33e0b8a24e Merge branch 'master' into correct_default_charset 2015-10-05 18:37:55 -07:00
Jeff Hodges 8d697b09b7 Merge pull request #908 from letsencrypt/faster-makefile
Allow override of all build flags in Makefile.
2015-10-05 18:11:00 -07:00
Jeff Hodges 5fd50ab648 Merge branch 'master' into faster-makefile 2015-10-05 18:01:23 -07:00
Jacob Hoffman-Andrews 94f23c3546 Merge branch 'master' into correct_default_charset 2015-10-05 16:53:55 -07:00
Jeff Hodges 79fa5eed00 Merge pull request #922 from letsencrypt/pip-pip-cheerio
test.sh: upgrade setuptools and pip to latest
2015-10-05 15:42:13 -07:00
Jeff Hodges 7ad8874f06 correct charset for contact column
Fixes #819.
2015-10-05 15:00:09 -07:00
Jeff Hodges 7ef0ec0d80 Merge branch 'master' into pip-pip-cheerio 2015-10-05 14:45:22 -07:00
Jeff Hodges b6572263c3 Merge pull request #897 from letsencrypt/backfill
Add CT backfill to OCSP-Updater
2015-10-05 14:40:37 -07:00
Roland Shoemaker 686ec016a9 Merge master 2015-10-05 14:23:48 -07:00
Roland Bracewell Shoemaker aafcd426b9 Merge pull request #895 from letsencrypt/policy_reg_id
allow whitelisting by a specific reg id
2015-10-05 14:20:30 -07:00
Jeff Hodges 5217af94b0 allow whitelisting by a specific reg id
Currently, the whitelisted registration ID is one that is impossible for the
database to return. Once the partner's registration is in place, we can
deploy a change to it.

Fixes #810
2015-10-05 14:11:38 -07:00
Jacob Hoffman-Andrews 0b857476a8 Merge pull request #899 from letsencrypt/rpc-para-process
Parallelize RPC server message processing
2015-10-05 13:23:56 -07:00
Jacob Hoffman-Andrews ad4e2ac246 Merge branch 'master' into rpc-para-process 2015-10-05 13:13:27 -07:00
Roland Shoemaker 80e455f3de Revert 9ff2696 2015-10-05 13:12:03 -07:00
Jacob Hoffman-Andrews 6e355f8a57 test.sh: upgrade setuptools and pip to latest
Fixes https://github.com/letsencrypt/boulder/issues/921,
an interoperability issue in letsencrypt client tests.
2015-10-05 13:09:43 -07:00
Roland Shoemaker 7180fd9c81 Change test config maxConcurrentRPCServerRequests to 16 2015-10-05 11:52:46 -07:00
Jacob Hoffman-Andrews ee0293ab09 Merge pull request #917 from letsencrypt/no-nil-error
AssertError: Don't bother logging nil errors
2015-10-05 10:24:18 -07:00
Jacob Hoffman-Andrews efa20407c1 Merge branch 'master' into no-nil-error 2015-10-05 09:16:14 -07:00
Roland Shoemaker a3bdbf2e88 Merge branch 'backfill' of github.com:letsencrypt/boulder into backfill 2015-10-04 21:41:54 -07:00
Roland Shoemaker ea30a46f5d Merge branch 'master' into backfill 2015-10-04 21:41:02 -07:00
Roland Shoemaker 9ff26960dd COUNT and batch SELECTs so each tick all serials are retrieved 2015-10-04 21:40:06 -07:00
Roland Shoemaker 9ddc09c096 Add TooManyRPCRequestsError to TestWrapError 2015-10-04 21:09:37 -07:00
Roland Shoemaker 5d4fccabeb Merge master 2015-10-04 21:08:51 -07:00
Roland Shoemaker 6b47b759b6 Merge branch 'rpc-para-process' of github.com:letsencrypt/boulder into rpc-para-process 2015-10-04 21:06:26 -07:00
Roland Shoemaker 4a98145992 Review fixes 2015-10-04 21:05:44 -07:00
Jacob Hoffman-Andrews faafc18a20 AssertError: Don't bother logging nil errors 2015-10-04 21:01:11 -07:00
Richard Barnes 961e392521 Merge branch 'master' into sig-reuse 2015-10-04 23:25:54 -04:00
Richard Barnes f3a40ac76c Address @jcjones comments 2015-10-04 23:24:06 -04:00
Roland Bracewell Shoemaker 17fd25a980 Merge pull request #904 from letsencrypt/restore-rate-limit
Pass RateLimitedError properly through RPC layer.
2015-10-04 16:27:43 -07:00
Roland Bracewell Shoemaker 4432ba4404 Merge branch 'master' into restore-rate-limit 2015-10-04 16:22:48 -07:00
Jacob Hoffman-Andrews cde218d073 Merge pull request #913 from utzig/typo-fixes
Typo fix
2015-10-04 14:00:42 -07:00
Fabio Utzig 259b1b6d5a Typo fix 2015-10-04 10:34:24 -03:00
Jacob Hoffman-Andrews 6906e395a4 Pass RateLimitedError properly through RPC layer. 2015-10-03 22:59:28 -07:00
Jacob Hoffman-Andrews e3e748a192 Merge pull request #912 from letsencrypt/rand
read fully from urandom
2015-10-03 22:16:23 -07:00
Jeff Hodges b5e989ec49 read fully from urandom in the ca
This didn't cause any certificates to be made with duplicate serial
numbers because the primary key in the certificates table is the serial
number and so attempts to insert duplicates fail.

The cause is the use of rand/Reader.Read. rand/Reader.Read does not
perform the io.ReadFull that rand.Read does. Without the io.ReadFull,
less than all of the random part of the serial number would be filled
in.

Fixes #911.
2015-10-03 19:17:40 -07:00
Jeff Hodges 13e5cfc233 Merge branch 'master' into backfill 2015-10-03 18:08:33 -07:00
Jeff Hodges f92baed63d Merge branch 'master' into rpc-para-process 2015-10-03 18:07:25 -07:00
Jacob Hoffman-Andrews 6ef48e2f81 remove pkcs11bench. 2015-10-03 14:21:53 -07:00
Jacob Hoffman-Andrews 17918010dc Allow override of all build flags in Makefile.
I think even the ldflags that did not change between subsequent invocations of
./start.py, e.g. BUILD_HOST_VAR, were different between ./start.py and
`go test ./...`, which would cause test runs to be unnecessarily slow.

Open question: To keep local developer builds fast, maybe we should enable race
detection only in Travis? Otherwise, `go test ./...` runs with one set of
ldflags, and then `ampq-integration-test.py` runs with a different set, which I
think makes both of them slower.
2015-10-03 12:45:06 -07:00
Richard Barnes 9414b1a37e Address @jmhodges comments and make tests pass 2015-10-03 14:47:17 -04:00
Richard Barnes 31ae51129a Merge branch 'master' into sig-reuse 2015-10-03 14:01:34 -04:00