Commit Graph

87 Commits

Author SHA1 Message Date
Richard Barnes 496d9d98f4 Add mkroot and mkcrl 2015-03-11 23:09:31 -07:00
bifurcation 9146d60c0c Merge pull request #28 from bifurcation/refactor
Refactor to be more modular
2015-03-11 11:34:38 -07:00
Richard Barnes d97447a3f1 Fixing breakage due to CFSSL update 2015-03-11 10:43:10 -07:00
bifurcation c65af4fdc6 Merge pull request #1 from letsencrypt/bifurcation-refactor
Fix Travis issues with the refactor
2015-03-11 09:44:29 -07:00
J.C. Jones 9d9ad5f1ab Fix a 'vet' issue, and more travis cleaning
It'd be nice if I could simulate a travis build locally first...
2015-03-11 08:37:33 -06:00
J.C. Jones a3f843bf97 Update coverage commands for Travis. 2015-03-11 08:18:45 -06:00
Richard Barnes 62b6347c5b Pulling out rpc module 2015-03-10 22:31:30 -07:00
Richard Barnes ff7cb747ab Consolidating commands 2015-03-10 15:56:02 -07:00
Richard Barnes e9a6e263e0 Pulling out log module 2015-03-10 15:34:13 -07:00
Richard Barnes dcdf9954ae Pulling out sa module 2015-03-10 15:21:50 -07:00
Richard Barnes e8126fd390 Pulling out wfe module 2015-03-10 14:33:22 -07:00
Richard Barnes 37919058e5 Pulling out va module 2015-03-10 14:26:20 -07:00
Richard Barnes b545ad6956 Pulling out ra module 2015-03-10 14:22:37 -07:00
Richard Barnes 8791f6fc80 Pulling out ca module 2015-03-10 14:10:59 -07:00
Richard Barnes c6673ade2e Pulling out core module 2015-03-10 13:54:13 -07:00
bifurcation 7047176c73 Merge pull request #26 from bifurcation/cfssl
Add CFSSL integration and move storage to SQL
2015-03-05 19:26:19 -05:00
Richard Barnes ef7693973a Gratuitous commit to re-start Travis 2015-03-05 18:26:46 -05:00
Richard Barnes 1b3bcc98f3 Typo fixes; should now build and pass tests 2015-03-05 17:58:00 -05:00
Richard Barnes fee1365096 Responses to JCJ comments 2015-03-05 17:56:27 -05:00
Richard Barnes 675f71738e More complete RA testing, plus SA bugfixes 2015-03-05 17:35:39 -05:00
Richard Barnes 507f5b1408 Moving all storage to SQL 2015-03-05 00:09:11 -05:00
Richard Barnes 1c08897cca Migrate more to SQL, and use Certificate objects 2015-03-04 14:59:40 -05:00
Richard Barnes ebfc1b38cb Adding a local signer so that test doesn't depend on a CFSSL process 2015-03-04 14:29:15 -05:00
Richard Barnes 0a3732f8a7 Add SQL storage and have the CertificateAuthority write to it. 2015-03-04 13:30:47 -05:00
Richard Barnes ba3a892de2 Use a remote CFSSL instance for signing 2015-03-04 11:35:51 -05:00
James 'J.C.' Jones d2c6035abb Merge pull request #24 from letsencrypt/activity_monitor
Convert to AMQP "topic" queues, add Proof-of-Concept AM that sniffs all AM traffic
2015-02-19 14:00:28 -07:00
J.C. Jones 5d5b65f347 Final fixes for this branch per @jsha 2015-02-19 13:56:34 -07:00
J.C. Jones a28a0e729c Stop building against golang-tip (for now). 2015-02-19 11:58:29 -07:00
J.C. Jones aca80d476b Add coverage figures.
- Added Gover to the list so that we can use subpackages (like analysisengine)
2015-02-19 11:42:28 -07:00
J.C. Jones d9539bc77b Rework activity-monitor to pass heavy-lifting to a "analysisengine" package.
This lets us A) test, and B) not crowd the "main" package with a lot of
analysis-heavy functionality.
2015-02-19 10:17:56 -07:00
J.C. Jones 17c780d7ed Resolve comments from @jsha on pull 24.
Coverage:

github.com/letsencrypt/boulder/json-logger.go:65:   NewJsonLogger     100.0%
github.com/letsencrypt/boulder/json-logger.go:72:   EnableStdOut      100.0%
github.com/letsencrypt/boulder/json-logger.go:76:   SetLevel      100.0%
github.com/letsencrypt/boulder/json-logger.go:80:   SetEndpoint     100.0%
github.com/letsencrypt/boulder/json-logger.go:86:   Connect       100.0%
github.com/letsencrypt/boulder/json-logger.go:95:   Critical      100.0%
github.com/letsencrypt/boulder/json-logger.go💯    Alert       100.0%
github.com/letsencrypt/boulder/json-logger.go:105:    Emergency     100.0%
github.com/letsencrypt/boulder/json-logger.go:110:    Error       100.0%
github.com/letsencrypt/boulder/json-logger.go:115:    Warning       100.0%
github.com/letsencrypt/boulder/json-logger.go:120:    Notice        100.0%
github.com/letsencrypt/boulder/json-logger.go:125:    Info        100.0%
github.com/letsencrypt/boulder/json-logger.go:130:    Debug       100.0%
github.com/letsencrypt/boulder/json-logger.go:139:    Write       87.5%
github.com/letsencrypt/boulder/json-logger.go:177:    WriteAndRetry     87.5%
2015-02-18 18:09:03 -07:00
J.C. Jones 46c7af46bf Rename to match naming convention.
Yeah, Go's cool. No cascade needed.
2015-02-17 18:00:07 -07:00
J.C. Jones 8434805d4d Merge branch 'activity_monitor' of github.com:letsencrypt/boulder into activity_monitor 2015-02-17 16:46:02 -07:00
J.C. Jones 3f15758403 Support an "offline" mode without a logging server.
Also rename "syslog" to "jsonlog" to indicate it's not RFC 5424 but rather JSON data.
2015-02-17 16:45:43 -07:00
J.C. Jones e28ced0af6 Formatting update 2015-02-17 16:45:43 -07:00
J.C. Jones 3387a77179 Create proof of concept Activity Monitor
- Forgot to bind all queues to the exchange in previous commit.
- Added basic AM standalone program
- TCP/IP JSON-formatted system logger appropriate for transmitting to LogStash
2015-02-17 16:45:43 -07:00
J.C. Jones c61a582180 AMQP: Use a named topic exchange; prep for Activity Monitor.
Instead of using default (direct) exchange, declare a topic exchange "boulder" for all queues. This permits a pub/sub model.
2015-02-17 16:45:43 -07:00
J.C. Jones 4daffbf9ed Add a CLI flag / env var for AMQP and CFSSL (currently unused) 2015-02-17 16:26:59 -07:00
J.C. Jones 7a33e1505c Update Dockerfile to use "go install" for consistency upstream. 2015-02-17 16:25:24 -07:00
J.C. Jones 4a301bd6cd Support an "offline" mode without a logging server.
Also rename "syslog" to "jsonlog" to indicate it's not RFC 5424 but rather JSON data.
2015-02-13 17:09:03 -07:00
J.C. Jones 7b75d34b94 Formatting update 2015-02-13 16:54:58 -07:00
J.C. Jones 90b354e9e9 Create proof of concept Activity Monitor
- Forgot to bind all queues to the exchange in previous commit.
- Added basic AM standalone program
- TCP/IP JSON-formatted system logger appropriate for transmitting to LogStash
2015-02-13 16:51:33 -07:00
J.C. Jones 2b34b9f6eb AMQP: Use a named topic exchange; prep for Activity Monitor.
Instead of using default (direct) exchange, declare a topic exchange "boulder" for all queues. This permits a pub/sub model.
2015-02-12 17:07:30 -07:00
James 'J.C.' Jones 63997f481b Merge pull request #16 from jsha/forbidden-label-test
Add a test for forbiddenLabel and make it stricter.
2015-02-09 18:00:45 -07:00
Jacob Hoffman-Andrews 3ceff67f0c Invert sense of dnsLabelRegexp. 2015-02-09 16:24:33 -08:00
Jacob Hoffman-Andrews 79455340a3 Fix forbiddenLabel test.
- Correctly test acceptance case.
- Fix some errors in code revealed by fix.
- Compile regexps once.
2015-02-09 16:22:33 -08:00
jsha 8ae5264c6d Merge pull request #19 from letsencrypt/docker
Initial Docker container support.
2015-02-09 16:03:24 -08:00
James 'J.C.' Jones 340106c125 Merge pull request #18 from jsha/constant-time-compare
Use ConstantTimeCompare when comparing challenge.
2015-02-09 16:48:52 -07:00
J.C. Jones 09a1c06e72 Change Dockerfile to use ENTRYPOINT. 2015-02-09 16:08:05 -07:00
J.C. Jones 5d60dda844 Change the defaults to open ports bound to all interfaces, not loopback. 2015-02-04 17:51:00 -07:00