Commit Graph

335 Commits

Author SHA1 Message Date
J.C. Jones cead23df00 Updates per jsha's review 2015-05-01 21:50:07 -07:00
J.C. Jones a77152e828 Rework Authority "New" methods to obtain AuditLogger from Singleton
- Also ran `go fmt` against these files I was touching anyway:
    sa/storage-authority.go
    va/validation-authority.go
    wfe/web-front-end.go
2015-05-01 21:50:07 -07:00
J.C. Jones e828c61818 Add singleton semantics to Audit Logger, per Issue #135
- Update tests to use the singleton logger
- Update commands to set the audit logger singleton
- Formatting updates to the tests (go fmt)
2015-05-01 21:48:24 -07:00
jsha 4282b18736 Merge pull request #139 from letsencrypt/test_speedup
Speed up test runs by pre-compiling sqlite3. Kudos to @jmhodges for the ...
2015-05-01 15:18:47 -07:00
J.C. Jones 15808a9a6f Speed up test runs by pre-compiling sqlite3. Kudos to @jmhodges for the tip! 2015-05-01 15:02:10 -07:00
James 'J.C.' Jones 16ce707966 Merge pull request #133 from kuba/bugs/130
"POST challenge" returns Challenge instead of Authorization (fixes: #130)
2015-05-01 14:59:59 -07:00
Jakub Warmuz e713658931
Revert 35834bf2, fix tests for wfe.Challenge 2015-05-01 08:14:23 +00:00
Jakub Warmuz 35834bf262
test.InitAuthorities, progress tests for wfe.Challenge 2015-05-01 00:33:22 +00:00
Jakub Warmuz 373636952e
Progress fixing tests for wfe.Challenge 2015-04-30 22:37:29 +00:00
Jakub Warmuz 4311f02a90
Add tests for wfe.Challenge 2015-04-30 20:48:02 +00:00
Jakub Warmuz 738e442f63
Fix build. 2015-04-30 19:25:28 +00:00
Jakub Warmuz 37f430d80f
Location and "up" Link for Challenge 2015-04-30 19:05:02 +00:00
Jakub Warmuz 7d98856ad7
"POST challenge" returns Challenge instead of Authorization (fixes: #130). 2015-04-30 18:45:27 +00:00
jsha b4f8471447 Merge pull request #112 from letsencrypt/schema-updates
Add certificate status support
2015-04-29 14:48:33 -07:00
Jacob Hoffman-Andrews 3aa3355b27 TEXT -> VARCHAR(255) 2015-04-29 10:20:56 -07:00
Jacob Hoffman-Andrews f66651bc86 Add revokedDate to certificate status table. 2015-04-28 18:51:15 -07:00
Jacob Hoffman-Andrews dd58bdcaa1 Merge branch 'master' into schema-updates
Conflicts:
	sa/storage-authority.go
2015-04-27 17:21:31 -07:00
jsha 6fe1a8be3b Merge pull request #113 from letsencrypt/improve-testjs
Improve test.js and misc changes to improve live deployment.
2015-04-27 17:07:57 -07:00
Jacob Hoffman-Andrews 0bd39daab5 Fix tests that relied on mis-formatted serial. 2015-04-27 17:00:53 -07:00
Jacob Hoffman-Andrews 9121719a49 Ignore goveralls submission failures. 2015-04-27 15:54:23 -07:00
Jacob Hoffman-Andrews eecf4b305e Add instructions and clarify openssl command line. 2015-04-27 15:50:44 -07:00
Jacob Hoffman-Andrews 1743fb2edb Fix stats for log.Notice. 2015-04-27 15:50:31 -07:00
Jacob Hoffman-Andrews d4aa8c6c78 Close connection after DVSNI. 2015-04-27 15:50:18 -07:00
Jacob Hoffman-Andrews f81b531abb Fix incorrect request.post invocation.
Also tidy up some error cases and variable names.
2015-04-27 14:47:34 -07:00
Jacob Hoffman-Andrews 66cb0fcefe Fix format strings for serials and DVSNI. 2015-04-27 14:47:06 -07:00
Jacob Hoffman-Andrews 9124b34b31 Improve Validation Authority
SimpleHTTPS works in both local test mode and live mode.
Don't keep alive SimpleHTTPS connections after verifying challenge.
2015-04-27 13:18:38 -07:00
Jacob Hoffman-Andrews a59323bfaa Fix key generation in test.js.
Also be more lenient about validating inbound challenge requests when talking to
a localhost Boulder.
2015-04-27 11:43:28 -07:00
jsha 62e6a5e44e Merge pull request #120 from rolandshoemaker/sqlfix
Fix invalid SQL statement
2015-04-27 10:50:38 -07:00
Roland Shoemaker e51c0bb96b fix error i introduced somewhere 2015-04-25 23:40:58 -07:00
Jacob Hoffman-Andrews e210f2c623 Fix live validation for SimpleHTTPS. 2015-04-24 19:20:58 -07:00
Jacob Hoffman-Andrews 6fc9ed5b80 Use openssl to generate test.js key, for speed. 2015-04-24 19:11:51 -07:00
Jacob Hoffman-Andrews 1065b14c9c Add more logging to boulder. 2015-04-24 18:39:50 -07:00
Jacob Hoffman-Andrews 14511361e4 Handle challenges within test.js 2015-04-24 18:39:47 -07:00
Jacob Hoffman-Andrews 4e2d71f40d Add stdout logging for Notice level. 2015-04-24 18:39:20 -07:00
Jacob Hoffman-Andrews 2edb869086 Improve test.js.
Use request instead of http so it works with either HTTP or HTTPS URLs.
Write DER certificate rather than PEM certificate. I was getting some bytewise
mismatches when checking the output PEM against a downloaded DER.
2015-04-24 12:40:37 -07:00
Jacob Hoffman-Andrews ca6e349906 Fix tests. 2015-04-23 20:06:17 -07:00
Jacob Hoffman-Andrews 7145207104 Add initial certificate status in SA.
Also improve test tools.
2015-04-23 19:52:34 -07:00
Jacob Hoffman-Andrews 4d592ee261 Add cert metadata to table schema.
Also restructure table init to DRY it.
2015-04-23 17:57:18 -07:00
jsha 3814c95594 Merge pull request #109 from jsha/format-string
Always use %016x when formatting shortSerial.
2015-04-23 16:23:36 -07:00
Jacob Hoffman-Andrews 32e159d320 Always use %016x when formatting shortSerial. 2015-04-23 16:09:46 -07:00
jsha 6c8f6a26a7 Merge pull request #107 from rolandshoemaker/aware-initables
Move InitTables and have it check for table existence before creation
2015-04-23 14:35:38 -07:00
Roland Shoemaker b63c9f3dcf fixed typo
Not sure how that got changed...
2015-04-23 13:51:09 -07:00
Roland Shoemaker 828ea5641f cleanup 2015-04-22 20:27:42 -07:00
Roland Shoemaker 2c370de691 back to always-init method 2015-04-22 20:15:57 -07:00
Roland Shoemaker 7cf1872d74 typo 2015-04-21 18:44:34 -07:00
Roland Shoemaker 6944f233d4 sqlite doesn't support information_schema table 2015-04-21 17:53:53 -07:00
Roland Shoemaker e43bd98c78 move InitTables to NewSQLStorageAuthority and add checks so tables are only created if they don't exist 2015-04-21 17:46:05 -07:00
jsha ba622d4cdb Merge pull request #105 from letsencrypt/certificate-query
Certificate query by serial
2015-04-21 12:06:55 -04:00
James 'J.C.' Jones 362f46c9fd Merge pull request #104 from rolandshoemaker/mailer
Simple Mailer
2015-04-19 22:57:06 -05:00
Jacob Hoffman-Andrews 830f64585c Merge branch 'master' of github.com:letsencrypt/boulder into certificate-query 2015-04-18 23:45:47 -04:00