Commit Graph

165 Commits (18a502d8aa51cb253a0adb6b5b9cb489d5c7787f)
 

Author SHA1 Message Date
JeremyRand 18a502d8aa
Web server: minor refactor of initTemplates.
Based on recommendations from "gosimple" static analysis.
7 years ago
JeremyRand 09a88dc989
Merge #47: Travis: Add comment on why aligncheck is disabled in gometalinter.
6f93f43 Travis: Add comment on why aligncheck is disabled in gometalinter. (JeremyRand)

Pull request description:

Tree-SHA512: 9c27062cb05a1d06b9049b7c8eed67c2758ffa4c9b96ecd7c34e929f3c6c5248d94b04e8a18d14a6028ede5679b969fca7a5962d5f7bf48df8437479b482765f
7 years ago
JeremyRand 236a432808
Merge #46: Apply "gofmt -s"
cf7518d Travis: Make gotype critical for gometalinter. (JeremyRand)
d058005 Travis: Make gofmt critical for gometalinter. (JeremyRand)
b6cf88d gofmt -s util/util_test.go (JeremyRand)
0da5cd2 gofmt -s util/util.go (JeremyRand)
6e3101e gofmt -s tlsrestrictchromium/tlsrestrict_chromium_tool/main.go (JeremyRand)
e3cd522 gofmt -s tlsrestrictchromium/chromium_test.go (JeremyRand)
2f0e866 gofmt -s tlsrestrictchromium/chromium.go (JeremyRand)
5152222 gofmt -s tlshook/tlshook.go (JeremyRand)
26b4c4c gofmt -s ncdomain/convert.go (JeremyRand)
1fb4007 gofmt -s generate_nmc_cert/main.go (JeremyRand)
53adb64 gofmt -s certinject/file.go (JeremyRand)
f70f23a gofmt -s certinject/cryptoapi_windows.go (JeremyRand)
6557714 gofmt -s certinject/certinject_windows.go (JeremyRand)
b1ab832 gofmt -s certinject_misc.go (JeremyRand)
8ec3281 gofmt -s certdehydrate/certdehydrate_test.go (JeremyRand)
62f0e6a gofmt -s certdehydrate/certdehydrate.go (JeremyRand)
e8feeb3 gofmt -s backend/backend.go (JeremyRand)

Pull request description:

  Based on recommendations from static analysis.

Tree-SHA512: 432d23656e552e93298eab2b3c32cf505aa503639a6cfc9498363b8208b697169392e36247ed029b8d54ddbe4fdfcc2cd36f2497ea22245de3703c95d4edf3b4
7 years ago
JeremyRand ada23392c6
Merge #45: Build system: Build q and dns-prop279
3a75a2f Travis: build q and dns-prop279. (JeremyRand)
042dab6 Travis: Slight refactor. (JeremyRand)

Pull request description:

  Temporary kludge for getting `q` and `dns-prop279` binaries included in the releases until we replace the build system with RBM.

Tree-SHA512: 581619de3f466d52c4cc2a7e9fc6fca329992ff78040e1b939ac589013768b83e1205ea49543297cf4e895e965a81b489cfa64f69bd3ce4652018d5435ac6745
7 years ago
JeremyRand 6f93f43bb3
Travis: Add comment on why aligncheck is disabled in gometalinter. 7 years ago
JeremyRand cf7518de6b
Travis: Make gotype critical for gometalinter. 7 years ago
JeremyRand d058005c26
Travis: Make gofmt critical for gometalinter. 7 years ago
JeremyRand b6cf88d290
gofmt -s util/util_test.go 7 years ago
JeremyRand 0da5cd28ab
gofmt -s util/util.go 7 years ago
JeremyRand 6e3101ea76
gofmt -s tlsrestrictchromium/tlsrestrict_chromium_tool/main.go 7 years ago
JeremyRand e3cd52290a
gofmt -s tlsrestrictchromium/chromium_test.go 7 years ago
JeremyRand 2f0e866870
gofmt -s tlsrestrictchromium/chromium.go 7 years ago
JeremyRand 5152222000
gofmt -s tlshook/tlshook.go 7 years ago
JeremyRand 26b4c4c637
gofmt -s ncdomain/convert.go 7 years ago
JeremyRand 1fb4007fa7
gofmt -s generate_nmc_cert/main.go 7 years ago
JeremyRand 53adb64d85
gofmt -s certinject/file.go 7 years ago
JeremyRand f70f23aff0
gofmt -s certinject/cryptoapi_windows.go 7 years ago
JeremyRand 65577146fc
gofmt -s certinject/certinject_windows.go 7 years ago
JeremyRand b1ab832754
gofmt -s certinject_misc.go 7 years ago
JeremyRand 8ec3281780
gofmt -s certdehydrate/certdehydrate_test.go 7 years ago
JeremyRand 62f0e6aa90
gofmt -s certdehydrate/certdehydrate.go 7 years ago
JeremyRand e8feeb3b00
gofmt -s backend/backend.go 7 years ago
JeremyRand 3a75a2f3b0
Travis: build q and dns-prop279.
(Temporary kludge until we replace the build system with RBM.)
7 years ago
JeremyRand 042dab66aa
Travis: Slight refactor. 7 years ago
JeremyRand 0688b3ea95
Merge #43: Mention DNSSEC Trigger.
2578491 Mention DNSSEC Trigger. (Hugo Landau)

Pull request description:

  Fixes #40.

Tree-SHA512: 38fe7c2d90232299ba92d2e338e7516cf24b57c0ef9bbef5aff82fcc70908dfcc1f7dbf70a5d5a1f207b6f9b8eecb84bb171108ea5d8ed3c7e34ad367ca869f1
7 years ago
JeremyRand d6f4a5528e
Merge #42: tlsrestrict: Fix various golint issues.
a0f4fa7 tlsrestrict: Fix various golint issues. (JeremyRand)
d128f51 Remove underscore in tlsrestrict_chromium folder name. (JeremyRand)

Pull request description:

Tree-SHA512: 1b27c5820a84c5bd6c0a33592c6c19910a1a5c93a4d5061b92ec2f05173688377eba2cb08860558d6883586136e3720162dccfb9e3681535c758cd3ae5a5a98e
7 years ago
JeremyRand 191f3899c1
Merge #41: certdehydrate: Improve comments for exported functions.
e1b2e31 certdehydrate: Improve comments for exported functions. (JeremyRand)

Pull request description:

  Based on recommendations from static analysis.

Tree-SHA512: 4f68a4d0de6d17d242b3b6c3ac8027e9babf438f1902722a8041406907b9ce52d54fd83f3283b17f33c4a3fd579e60b7eb559bf273497c1a7448f331ec97f42a
7 years ago
JeremyRand f2f6fa947b
Merge #29: Travis CI: Reduce Gox parallelism to 3
1be9909 Travis CI: Reduce Gox parallelism to 3, because Travis VM's have 2 cores. (JeremyRand)

Pull request description:

  Travis VM's have 2 cores.

Tree-SHA512: e9800d49b0d9423f96e49d68e955ead37b0a1611045ef6c6ef67e7db67af18ca43bd91344e940c6249bc2d82a7ca318233e321e32ac9a76a346b76286d130042
7 years ago
Hugo Landau 2578491baa
Mention DNSSEC Trigger.
Fixes #40.

©! I, Hugo Landau <hlandau@devever.net>, hereby licence these changes under the
©! licence with SHA256 hash
©! fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc.
7 years ago
JeremyRand a0f4fa7f3f
tlsrestrict: Fix various golint issues. 7 years ago
JeremyRand d128f51e48
Remove underscore in tlsrestrict_chromium folder name. 7 years ago
JeremyRand e1b2e31864
certdehydrate: Improve comments for exported functions. 7 years ago
JeremyRand 1be990949d
Travis CI: Reduce Gox parallelism to 3, because Travis VM's have 2 cores. 7 years ago
JeremyRand 6e694c5b57
Merge #26: tlsrestrict: Remove unnecessary type conversions.
8ae0a71 tlsrestrict: Remove unnecessary type conversions. (JeremyRand)

Pull request description:

  Found by static analysis.

Tree-SHA512: 6a27b8100ec87365304ba76b49d95e9ef56614cad625f7d3f1484826629dfe07a75f54dd3882181fff8b89b24b1e615a9780581399bf9886767525988c4193d3
7 years ago
JeremyRand 65fad71dcb
Merge #35: Fix Travis environment variables
86b5c89 Fix Travis environment variables (Hugo Landau)

Pull request description:

  Whoops, needs to be under `global:` or it gets interpreted as a build
  matrix. @JeremyRand

Tree-SHA512: 5df35316bab1fcd56777c662979a06dee347251cdd3b8e4750ff6e475431ddb63a57826d135103f7a6397d4872e5a52f88acf66f1bc9f11fddb9eb67a6d573bb
7 years ago
Hugo Landau 86b5c89f3d
Fix Travis environment variables
Whoops, needs to be under global: or it gets interpreted as a build
matrix.

©! I, Hugo Landau <hlandau@devever.net>, hereby licence these changes under the
©! licence with SHA256 hash
©! fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc.
7 years ago
JeremyRand a95021559b
Merge #34: Fix release builds when multlple Go version builds are used
4460942 Fix release builds when multlple Go version builds are used (Hugo Landau)

Pull request description:

Tree-SHA512: 70ebaf015ad1da903333ed193dd85ccbe1298192237f1ffd72a23529ef0088750d6ff710502772e0a016be3a9e6c3f1a9c2144f24699e196b5652de046c0f757
7 years ago
JeremyRand 57a2318ed4
Merge #32: Docs: Refactor build instructions.
7eff6e6 Docs: Refactor build instructions. (JeremyRand)

Pull request description:

  Revisions loosely based on feedback from @domob1812, who had some trouble with the existing instructions.

Tree-SHA512: 50f580bfbf988284b0752de60b41afe96725537f4bb3f5ed8bbb91c035329096ca72227dbac8fd26e003375629ef427807044c424aca4e82b4d069658285319b
7 years ago
JeremyRand 545440492c
Merge #30: Build: Makefile: move repo from hlandau/ncdns to namecoin/ncdns.
972c38b Build: Makefile: move repo from hlandau/ncdns to namecoin/ncdns. (JeremyRand)

Pull request description:

  H/t to @domob1812 for reporting the issue.

Tree-SHA512: dabfd4a38d7022dfedf2b1d19fce24d8d6d49b09e1d5f0749d6235f3fa05e3fa48b75f377c8ba748a472e62feefbf99765e7fc9fc5d1205f4f08d8705b16e679
7 years ago
Hugo Landau 446094224e
Fix release builds when multlple Go version builds are used
©! I, Hugo Landau <hlandau@devever.net>, hereby licence these changes under the
©! licence with SHA256 hash
©! fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc.
7 years ago
JeremyRand 7eff6e67ac
Docs: Refactor build instructions. 7 years ago
JeremyRand 972c38b199
Build: Makefile: move repo from hlandau/ncdns to namecoin/ncdns. 7 years ago
JeremyRand dbc5d47799
Merge #16: CryptoAPI TLS certificate injection
271a0c7 tlshook: Fix linter warning about shadowed variable. (JeremyRand)
978116d Travis: Disable gometalinter warnings on the portion of x509 that is copied verbatim from the Go standard library. (JeremyRand)
05afcd4 tlshook: Remove unused imports. (JeremyRand)
81fb477 tlshook: Removed commented-out code for non-dehydrated certificates; I plan to re-add that code once it's properly tested. (JeremyRand)
e16ad6f TLS dehydrated certificate injection for CryptoAPI trust store (triggered by hooking DNS lookups). (JeremyRand)

Pull request description:

  Add the ability to inject TLS certs into CryptoAPI's trust store before replying to DNS queries.

  Please review but do not merge yet.

  TODO before merging:

  - [x] Make the x509 build script use `go generate`.
  - [x] Make the x509 build script source `go env` and use `$GOROOT` from it.
  - [x] Update the `d/` spec to match the current dehydrated certificate format.  (It's changed slightly since I submitted the spec.)
  - [x] Look into using Errore instead of Fatal.
  - [x] Fix `.gitignore`.
  - [x] Squash commits.

Tree-SHA512: 1ce4e650e142aa1630f51b09497d85ad0626ae46ccc63c2e72fafa97d99bf340b3583db5ac76b5cc339228e56be8e9db673348d2d8f1f6173f1bca5306971629
7 years ago
JeremyRand 271a0c72d6
tlshook: Fix linter warning about shadowed variable. 7 years ago
JeremyRand 978116deda
Travis: Disable gometalinter warnings on the portion of x509 that is copied verbatim from the Go standard library. 7 years ago
JeremyRand 05afcd4dab
tlshook: Remove unused imports. 7 years ago
JeremyRand 81fb4779fa
tlshook: Removed commented-out code for non-dehydrated certificates; I plan to re-add that code once it's properly tested. 7 years ago
JeremyRand e16ad6f62c
TLS dehydrated certificate injection for CryptoAPI trust store (triggered by hooking DNS lookups). 7 years ago
JeremyRand 6ae122309b
Merge #28: Travis CI: Run gometalinter.
4c47444 Travis CI: Run gometalinter. (JeremyRand)

Pull request description:

  All the gometalinter linters that produce warnings with the current codebase are configured to not fail the Travis build, but their output will still be printed to Travis logs.  Other linters will fail the Travis build.

Tree-SHA512: 8e9e17390b28cc9997ce35692c64cee10ebca4e96a8b0ad1666bd83c707ba5c791207526fc05a2b4631bc9cdad8fed7637d42e0f548d22972bdfb3c670c8b6d9
7 years ago
JeremyRand 603cc132cb
Merge #25: tlsrestrict: Check error return value of config.Parse
35ca202 tlsrestrict: Check error return value of config.Parse (JeremyRand)

Pull request description:

  Found by static analysis.

Tree-SHA512: cd375be61179857586c9c5ebdd0ac9f39f4ac51b95753bbb290deb35ce43533a0e661c4d1fb0136950e94c2a45b4b83ba2b6f604374ba611b75e881ec26a7eb9
7 years ago