Commit Graph

1106 Commits

Author SHA1 Message Date
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
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
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 f61dad3856 correct README discussion of godep 2015-07-24 16:39:33 -07:00
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
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
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
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
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
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
Roland Shoemaker 5b019f5ea8 Update miekg/dns dependency 2015-07-22 12:37:50 -07:00
Romain Fliedel 2c2075d2f0 Add missing link headers for registration resource update. 2015-07-22 20:15:21 +02:00
Roland Shoemaker 31f0674f03 Replace net.LookupMX with core.LookupMX using defined resolver 2015-07-21 22:36:29 -07:00
Roland Shoemaker 9f18d6fd71 Remove redudant comments 2015-07-21 19:46:20 -07:00
Tom Clegg a6a1e27ac7 Remove useless test function. 2015-07-21 21:40:20 -04:00
Tom Clegg 2583ce55a5 Verify logs were generated. 2015-07-21 21:37:34 -04:00
Tom Clegg e09f9eebf1 Merge remote-tracking branch 'upstream/master' into 414-va-log-redirects
Conflicts:
	va/validation-authority_test.go
2015-07-21 21:32:50 -04:00
Roland Shoemaker b093613191 Add cache helper methods and always send static cache max-age 2015-07-21 18:21:48 -07:00
Roland Shoemaker 0e83538b56 Merge master 2015-07-21 17:48:19 -07:00
Jacob Hoffman-Andrews 99c339f850 Merge pull request #498 from tomclegg/490-mock-logs
Add mock for syslog.
2015-07-21 17:40:06 -07:00
Roland Shoemaker 1a3e41ee57 Review fixes 2015-07-21 17:39:16 -07:00