Commit Graph

291 Commits (39a0d8d25e8c633d9787c03ee8307688db4598d4)
 

Author SHA1 Message Date
JeremyRand 5235417cf4
Merge #84: Travis: Update to Go 1.10.3 for releases, and test on newer Go versions.
4ee5a1c Travis: Update to Go 1.10.3 for releases, and test on newer Go versions. (JeremyRand)

Pull request description:

  TODO:

  - [x] Test this on Travis.

Tree-SHA512: 0cf071d09cf359e2cc327d6eca76e5e832cc762543d62e57948c957d6ab7560367f747f666246778727d9bd2d06f24be0a466b7f9da461c799cd369bfe9c0c97
6 years ago
JeremyRand 4ee5a1c22f
Travis: Update to Go 1.10.3 for releases, and test on newer Go versions. 6 years ago
JeremyRand bad0c81eba
Merge #80: Automatically sync TLSA records with Firefox cert_override.txt
fade5f4 Allow ncdns to automatically sync TLSA records with Firefox cert_override.txt. (JeremyRand)

Pull request description:

Tree-SHA512: 05360437bea506eacb71e37d62781627f5c60de61c4b30d60c2e0efa7da9f511a087715514cdc5be0ab0fbcf0229bfea31133dcb486c947a4068d7b562ad13c4
6 years ago
JeremyRand fade5f412a
Allow ncdns to automatically sync TLSA records with Firefox cert_override.txt. 6 years ago
JeremyRand 21c3c3d041
Merge #66: Upgrade to Go 1.10.
443f1b1 x509: Fix goimports warning in x509_splice.go (JeremyRand)
437303f Rebase x509 onto Go 1.10. (JeremyRand)
8d44b53 x509: Update install script for Go 1.10. (JeremyRand)
5884c30 Travis: Upgrade to Go 1.10. (JeremyRand)

Pull request description:

  Depends on #65 .  Should not be merged until The Tor Project has upgraded their RBM descriptor to Go 1.10 or higher.

Tree-SHA512: e32dac7b7e1edeb16ffc94c53d1c25fb97fff5ab12ae2ab175a190babde38735d9785805f1f8455b7883283c949db4fd3dcd9f749bb0766bbbb46acd47c8051b
6 years ago
JeremyRand 443f1b1574
x509: Fix goimports warning in x509_splice.go 6 years ago
JeremyRand 437303f33d
Rebase x509 onto Go 1.10. 6 years ago
JeremyRand 8d44b532aa
x509: Update install script for Go 1.10. 6 years ago
JeremyRand 5884c3020e
Travis: Upgrade to Go 1.10.
Remove older Go versions, because ncdns's x509 fork no longer builds with them.
6 years ago
JeremyRand 5150db0795
Merge #78: Travis: enable goimports static analyzer as critical.
9496034 Travis: disable gofmt linter. (JeremyRand)
99cb7d9 Travis: enable goimports static analyzer as critical. (JeremyRand)

Pull request description:

  Depends on https://github.com/namecoin/ncdns/pull/54 and https://github.com/namecoin/ncdns/pull/77 .  Should be mergeable after those are merged, assuming Travis passes at that point.

Tree-SHA512: 174fc0d5b0bd5734703d4e97d04d70389883071fec41436ef6a93b543e449032db8faab2ab0a3b287a3c180504e3a2e64d446c613cc4643016c90e13a4744c7a
6 years ago
JeremyRand 6a17fdf647
Merge #82: ncdumpzone: Refactor into library and executable.
1a6a3db ncdumpzone: Refactor into library and executable. (JeremyRand)

Pull request description:

  Also a few other minor refactorings of ncdumpzone.

  Refs https://github.com/namecoin/ncdns/pull/80 .

Tree-SHA512: 2e456f07125dec4a39dd840685090b3b6809663993995ab0103405d4301eec2671c1533c2b5fccd099e6716e9957a1acaf03be6973e088a63450bdae5b68ebb6
6 years ago
JeremyRand b464ead48d
Merge #81: Travis: disable gochecknoglobals as critical.
c4a72a8 Travis: disable gochecknoglobals as critical. (JeremyRand)

Pull request description:

  The gochecknoglobals is newly added to gometalinter, and it's breaking the build right now.  We should disable it until we've evaluated whether the issues it flags are significant.

Tree-SHA512: 71d305d72fd5c7283878c0b93607efee6f68bf52501d29ad23ea2cad7e3465e7e5a1f47b292023ad252ad6d1af8a696639431f1f6da40f3de05f381c70f58faf
6 years ago
JeremyRand 1a6a3db340
ncdumpzone: Refactor into library and executable. 6 years ago
JeremyRand c4a72a8fe2
Travis: disable gochecknoglobals as critical. 6 years ago
JeremyRand 94960344ae
Travis: disable gofmt linter.
goimports is still enabled, and it's a superset of gofmt.
6 years ago
JeremyRand 99cb7d993b
Travis: enable goimports static analyzer as critical. 6 years ago
JeremyRand c0b4e4d3e6
Merge #79: ncdumpzone: Refactor RR printing.
96c4999 ncdumpzone: Refactor RR printing. (JeremyRand)

Pull request description:

Tree-SHA512: 9c39483130addf33040cba4e48da98441a04da4f0795ebc1e92ffdbf45a34f82b209c1e85e67bf6e7dc5705efd0763971375d4e8cbe5b25b38596ccac3286fc5
6 years ago
JeremyRand 4cb4768424
Merge #77: Travis: various static analysis fixes/improvements
c1f6d2c ncdomain: fix redundant return statement in parseSingleService. (JeremyRand)
a876b17 ncdomain: fix redundant return statement in parseSingleMX. (JeremyRand)
40eeed1 ncdomain: fix redundant return statement in parseTXT. (JeremyRand)
497faca goimports -w tlsrestrictchromium/tlsrestrict_chromium_tool/main.go (JeremyRand)
a107d33 goimports -w tlsrestrictchromium/chromium_test.go (JeremyRand)
056215e Travis: mark megacheck linter as non-critical. (JeremyRand)
91e1ce4 Travis: aligncheck linter is replaced by maligned linter. (JeremyRand)
cf97a1a Travis: mark nakedret linter as non-critical. (JeremyRand)
f031d2b goimports -w tlsrestrictchromium/chromium.go (JeremyRand)
5350011 Travis: update gometalinter to v2. (JeremyRand)
9b6643d goimports -w server/server.go (JeremyRand)
4c66b15 certinject: Fix duplicated log variable. (JeremyRand)
5d508f6 goimports -w certdehydrate/certdehydrate_test.go (JeremyRand)
519f47f goimports -w main.go (JeremyRand)

Pull request description:

  TODO:

  - [x] Fix any static analysis warnings that this triggers.

Tree-SHA512: 4071af04fa08534815b8d14fccc998087d9d9580b2407bea0671e290e370a5e75d608a21d351b7377387e0f4029f870049feaa0adeaef0e99fa3252eef272df7
6 years ago
JeremyRand 87a8c38c0c
Merge #69: Re-enable netbsd/arm builds
5c7489c Re-enable netbsd/arm builds. (JeremyRand)

Pull request description:

  Do not merge this PR until miekg/dns#655 is fixed.

Tree-SHA512: 9f56e1c2d8aec52c92dda7094e8e8e5ea88a9df451efa22e4b82cf42cd0b34503c46ade2446cd14fb01afec7528599a66f05085dd0195d60109cc91f8a977380
6 years ago
JeremyRand 557e5f1f5c
Merge #54: generate_nmc_cert: rebase against Go 1.8.3 standard library.
986772b generate_nmc_cert: disable goimports linter. (JeremyRand)
fb709df generate_nmc_cert: Use more standard imports order. (JeremyRand)
cee2b18 generate_nmc_cert: Disable gofmt linter. (JeremyRand)
fca636d generate_nmc_cert: Use P256 curve by default. (JeremyRand)
7263b7a generate_nmc_cert: split falsehost into its own file, which makes auditing merges from upstream Go stdlib substantially easier. (JeremyRand)
deea55b generate_nmc_cert: rebase against Go 1.8.3 standard library. (JeremyRand)

Pull request description:

  ~~Not yet tested; feel free to review/test but do not merge.~~

  Ready for review, I think it's mergeable.

Tree-SHA512: 18fab3d3a335f742d021f6b516681a4e3cc2320443b647d12c52bb3726d8e3c2281e2314ab4014b934eaa93329feb891e02768ff5059acf8bce587f7b901b29a
6 years ago
JeremyRand 96c4999c40
ncdumpzone: Refactor RR printing. 6 years ago
JeremyRand c1f6d2c16d
ncdomain: fix redundant return statement in parseSingleService. 6 years ago
JeremyRand a876b17405
ncdomain: fix redundant return statement in parseSingleMX. 6 years ago
JeremyRand 40eeed171b
ncdomain: fix redundant return statement in parseTXT. 6 years ago
JeremyRand 497faca99e
goimports -w tlsrestrictchromium/tlsrestrict_chromium_tool/main.go 6 years ago
JeremyRand a107d339a8
goimports -w tlsrestrictchromium/chromium_test.go 6 years ago
JeremyRand 056215e368
Travis: mark megacheck linter as non-critical. 6 years ago
JeremyRand 91e1ce429a
Travis: aligncheck linter is replaced by maligned linter. 6 years ago
JeremyRand cf97a1a6a3
Travis: mark nakedret linter as non-critical. 6 years ago
JeremyRand f031d2b309
goimports -w tlsrestrictchromium/chromium.go 6 years ago
JeremyRand 5350011c8d
Travis: update gometalinter to v2. 6 years ago
JeremyRand 9b6643d07c
goimports -w server/server.go 6 years ago
JeremyRand 4c66b15310
certinject: Fix duplicated log variable. 6 years ago
JeremyRand 5d508f62e2
goimports -w certdehydrate/certdehydrate_test.go 6 years ago
JeremyRand 519f47f9b2
goimports -w main.go 6 years ago
JeremyRand 986772bd02
generate_nmc_cert: disable goimports linter.
This is for the same reason that gofmt is disabled.
6 years ago
JeremyRand fb709df260
generate_nmc_cert: Use more standard imports order. 6 years ago
JeremyRand 5c7489cc25
Re-enable netbsd/arm builds.
Do not merge this commit until https://github.com/miekg/dns/issues/655 is fixed.
6 years ago
JeremyRand ceb6f266d6
Merge #76: ncdumpzone: Use easyconfig instead of kingpin.
cbc0c11 ncdumpzone: Use easyconfig instead of kingpin. (JeremyRand)

Pull request description:

Tree-SHA512: fd1dceda29cf56b049ce9277749c8f2f085f7dbb2437b175587a8fba590e99b7e8447b17b43b867ca9f8e633664eaec20c5493bf0a2f12e4c600b985427ca6de
6 years ago
JeremyRand cbc0c1198a
ncdumpzone: Use easyconfig instead of kingpin. 6 years ago
JeremyRand a498ad2f9a
Merge #65: Upgrade to Go 1.9.
e22eaa6 Travis: build releases with Go 1.9. (JeremyRand)
6f77ecb Travis: Upgrade to Go 1.9. (JeremyRand)
92ed6ce Rebase x509 onto Go 1.9. (JeremyRand)

Pull request description:

  Depends on #64.  Should not be merged until The Tor Project has upgraded their RBM descriptor to Go 1.9 or higher.

Tree-SHA512: b485ad652fb63cd4aad8dddb6614ac22a2efaf1ff342f023c3b1cc30ed9697b64e378e3cfa827362c1f6871a5ce35bc9f03c6ef91c41cafb1a150fd18a7f0883
6 years ago
JeremyRand e22eaa67f9
Travis: build releases with Go 1.9. 6 years ago
JeremyRand 6f77ecb6df
Travis: Upgrade to Go 1.9.
Remove older Go versions, because ncdns's x509 fork no longer builds with them.
6 years ago
JeremyRand 92ed6ce8a8
Rebase x509 onto Go 1.9. 6 years ago
JeremyRand 19534f1dcf
Merge #68: Temporarily disable netbsd/arm builds.
5af8e11 Temporarily disable netbsd/arm builds. (JeremyRand)

Pull request description:

  Due to https://github.com/miekg/dns/issues/655 ; this should fix Travis fails.  This will be reverted when that issue is fixed.

Tree-SHA512: fc0a6e81afe9747bd61c8ed622d42dfe44af7e772c78ee415853d538e4fb6d72cfce89274b691dd178b9b4a859ab3b7da3911f9a3b2427061f3306760ed5e0e4
6 years ago
JeremyRand 5af8e11e53
Temporarily disable netbsd/arm builds.
Due to https://github.com/miekg/dns/issues/655 .  Will be reverted when that issue is fixed.
6 years ago
JeremyRand 6c7e9659ec
Merge #64: certdehydrate: Add tests for known valid and invalid signatures.
cb55a50 certdehydrate: Add tests for known valid and invalid signatures. (JeremyRand)

Pull request description:

Tree-SHA512: d64fc786c6d5206bf7e814e9b5a3cae3cf680f840449d02acf3f0cfa9e0286b9637ae6162b18a1645d0b406493d307daba63cd4320b64ddad4a384edc8131cb0
6 years ago
JeremyRand 3f68d1d616
Merge #61: ncdumpzone: Add Firefox mode.
2e50c75 ncdumpzone: Add Firefox mode. (JeremyRand)

Pull request description:

  This mode outputs a cert_override.txt file (based on TLSA records) that Firefox will accept.  This can be used to facilitate positive overrides in Firefox.  A future PR will automate the procedure of syncing with Firefox.

  Note that it won't create the correct hostname or fingerprint until #60 is merged.

Tree-SHA512: bcd060ae8239883ec5f38f73ed195ed22ce4e673738770b031678bbbab73ca8046713b0127728dec89caf7db1ddc873f9837f2b684a465aeb5cdba79537d52f6
6 years ago
JeremyRand 6b49e3a9e2
Merge #60: Fix rehydrated TLSA records served over DNS
dba4ce7 Fix erroneous duplication of domain name in TLSA records served over DNS. (JeremyRand)
cb6bcea Fix erroneous trailing period in x509 certificates served over DNS. (JeremyRand)

Pull request description:

  Fixes #59, as well as a different bug that broke the same functionality as #59.

Tree-SHA512: 54b2aba1368bf0c19735e773453141be40cd8fb7403b69932c21a60ed5d8b6cce255b61a756fb1745a338901bbc5d86e26387d1375216e6a88b691d3ae25e4d3
6 years ago
JeremyRand 3829e2b22b
Merge #52: certdehydrate: Add some additional error checking
5cbd433 certdehydrate: Add some additional error checking. (JeremyRand)

Pull request description:

  Based on recommendations from "gas" static analysis.  ~~Depends on #50.~~

Tree-SHA512: 8c7980abaaace3c28be6186ea0c5d7ed52ba6557d8e7df52a93a228408db1b2b1eb61d370e988db723e3f07dd3e6cd70a3d45a5c55959813fef0f8d7e967551a
6 years ago