Commit Graph

1390 Commits

Author SHA1 Message Date
Jeff Hodges cfcd6dfc88 remove pkcs11 tag for build and test scripts
With #525 in place, we no longer need to worry about setting the pkcs11
tag everywhere.
2015-07-24 16:33:05 -07:00
Roland Shoemaker 0bac4e4f59 Actually add the file... 2015-07-24 14:54:11 -07:00
Roland Shoemaker a69021f918 Add sendWarning test 2015-07-24 14:53:50 -07:00
Jeff Hodges 58080cc3b9 remove Go version and build host from API
This data would be useful to attackers attempting to exploit our
system. We have not committed to producing our binaries to the public,
so these are not exposed through other means.
2015-07-24 14:52:47 -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
Jacob Hoffman-Andrews ec8d37eb21 Merge pull request #516 from letsencrypt/dns-config-refactor
DNS config refactoring
2015-07-24 12:57:28 -07:00
Roland Shoemaker f742e2bef1 Add another test 2015-07-24 12:18:18 -07:00
Roland Shoemaker a960fa0393 Store redirects, reconstruct transport on redirect, add redirect + lookup tests 2015-07-24 12:05:27 -07:00
Jacob Hoffman-Andrews 8092b42dd6 Merge pull request #525 from letsencrypt/update-cfssl-nopkcs11
Update cfssl to latest master.
2015-07-24 11:56:51 -07:00
Jacob Hoffman-Andrews 194658f019 Update cfssl to latest master.
This changes the default pkcs11 tag so pkcs11 is included by default.
This will let us remove -tags pkcs11 from our build scripts.
2015-07-24 10:54:16 -07:00
Roland Shoemaker 107f171c76 Less convuluted get adresses function/usage 2015-07-23 22:44:42 -07:00
Roland Shoemaker e241f38cc7 Actually store and log resolved addresses 2015-07-23 21:49:50 -07:00
Roland Shoemaker 09208cc6cb Refactor DNS problem details use 2015-07-23 21:19:29 -07:00
Roland Shoemaker 960af78955 cleanup 2015-07-23 17:59:03 -07:00
Jeff Hodges 8975601d5e correct bodyStr->body 2015-07-23 17:41:15 -07:00
Jacob Hoffman-Andrews e1c1407aa8 Merge pull request #512 from letsencrypt/update-dns
Update miekg/dns dependency
2015-07-23 17:33:40 -07:00
Roland Shoemaker 3f129219dc Merge pull request #523 from letsencrypt/rm-mkcert
Remove mkcert and mkcrl
2015-07-23 17:22:05 -07:00
Jacob Hoffman-Andrews e3a62e12de Merge pull request #522 from letsencrypt/test_sh_comment
fix first failure comment in test.sh
2015-07-23 17:11:57 -07:00
Jacob Hoffman-Andrews 3a7635eb82 Merge pull request #513 from letsencrypt/fix-test-gofmt
Fix gofmt test
2015-07-23 17:10:18 -07:00
Jacob Hoffman-Andrews a7a92c67ca Merge pull request #510 from letsencrypt/log-csr
Record initial application CSR.
2015-07-23 17:09:39 -07:00
Jacob Hoffman-Andrews b082b552e4 Switch to \`go test ./...\` in test.sh 2015-07-23 16:59:41 -07:00
Jacob Hoffman-Andrews fb1d55245f Remove mkcrl and mkroot.
These fail tests. Removing them allows us to run tests with
go test -tags pkcs11 ./...
2015-07-23 16:56:51 -07:00
Roland Shoemaker 7dc3328237 Add expiration template example 2015-07-23 15:36:14 -07:00
Roland Shoemaker 6c2f3ea8cc Merge branch 'master' into mailer 2015-07-23 15:33:43 -07:00
Roland Shoemaker b5f519d22d Rework how the expiration mailer looks for certificates 2015-07-23 15:33:28 -07:00
Jeff Hodges 77418e28d3 fix first failure comment in test.sh
A better fix might be to fail earlier on when, say, go vet fails.
2015-07-23 15:26:44 -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
Roland Shoemaker 9d02c1afad Merge pull request #518 from jcjones/rpm_build
Support RPM builds for those who want them.
2015-07-23 13:00:54 -07:00
J.C. Jones 79415f3fd1 Support RPM builds for those who want them. 2015-07-23 11:41:52 -07:00
Jacob Hoffman-Andrews 752080871d Instead of panic on error, log an error. 2015-07-23 09:34:04 -07:00
Romain Fliedel 7a3c061576 Add new test to ensure Link headers are correctly set in Registration/NewRegistration reply. 2015-07-23 18:13:41 +02:00
Roland Shoemaker 8239ec0ddd Merge tomclegg:change-ip-not-vhost 2015-07-23 00:42:54 -07:00
Roland Shoemaker 5face2bf08 Merge master 2015-07-23 00:13:24 -07:00
Roland Shoemaker 230ea988bb Review rework 2015-07-23 00:09:09 -07:00
Jacob Hoffman-Andrews 9a4cd50a93 Use []byte to implicitly marshal to base64. 2015-07-22 17:50:43 -07:00
Jacob Hoffman-Andrews 5071d75b39 Restore pointer receivers for MockSyslogWriter. 2015-07-22 17:02:13 -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
Roland Shoemaker f93fbd4366 Fix monolithic binary 2015-07-22 16:15:54 -07:00
Roland Shoemaker bf0673c35f DNS config refactoring 2015-07-22 15:54:40 -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
Jacob Hoffman-Andrews 61394e4f2d Merge pull request #506 from letsencrypt/native-mx-lookup
Replace net.LookupMX use with core.LookupMX
2015-07-22 15:17:38 -07:00
Roland Shoemaker 2d0ca54c00 Fix error messages 2015-07-22 15:14:47 -07:00
Jacob Hoffman-Andrews 7fce01b7ce Merge pull request #491 from letsencrypt/cache-headers
WFE cache headers
2015-07-22 15:09:02 -07:00
Jacob Hoffman-Andrews 12a3e6c4dd Merge pull request #481 from tomclegg/414-va-log-redirects
Log redirects encountered during HTTP validation. Fixes #414
2015-07-22 15:08:54 -07:00
Roland Shoemaker 057d200e95 Merge pull request #514 from jcjones/remove_ocsp_updater_limit
Remove the artificial OCSP Updater limit check
2015-07-22 14:51:48 -07:00
J.C. Jones 4a84484912 Remove the artificial OCSP Updater limit check
Use whatever comes from the administrator. Adminstrator knows what she is doing.
2015-07-22 14:33:05 -07:00
Jacob Hoffman-Andrews 6a25f554b6 Fix gofmt test.
Previously, the gofmt test was not properly causing Travis to fail, because it
would call run_and_comment on a printf command, which always succeeded. Instead,
we create a function for the gofmt check that outputs on stdout and returns a
meaningful status code, then call run_and_comment on that.

Also fix up a few places that expected TRAVIS_PULL_REQUEST=false, which doesn't
happen when running locally.
2015-07-22 14:24:36 -07:00