2
0
mirror of https://github.com/namecoin/ncdns synced 2024-10-31 09:20:31 +00:00
Commit Graph

169 Commits

Author SHA1 Message Date
JeremyRand
375ff45a4d
certinject: NSS: Add an internal test. 2018-03-12 21:07:21 +00:00
JeremyRand
ead7a2078a
certinject: NSS: Improve error handling. 2018-03-12 21:06:59 +00:00
JeremyRand
145d1e32cd
certinject: Fix various issues found by static analysis. 2018-03-12 21:03:56 +00:00
JeremyRand
2c8b5fe5ee
certinject: NSS improvements, now works on arbitrary NSS cert store directories. 2018-02-14 06:15:47 +00:00
JeremyRand
e5c7c09968
certinject: add support for the shared NSS trust store on GNU/Linux systems. 2018-02-10 06:07:39 +00:00
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
2017-11-08 15:39:59 +00:00
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
2017-11-08 15:37:03 +00:00
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
2017-11-08 15:33:21 +00:00
JeremyRand
6f93f43bb3
Travis: Add comment on why aligncheck is disabled in gometalinter. 2017-11-04 19:55:47 +00:00
JeremyRand
cf7518de6b
Travis: Make gotype critical for gometalinter. 2017-11-04 08:16:28 +00:00
JeremyRand
d058005c26
Travis: Make gofmt critical for gometalinter. 2017-11-04 08:12:38 +00:00
JeremyRand
b6cf88d290
gofmt -s util/util_test.go 2017-11-04 08:01:56 +00:00
JeremyRand
0da5cd28ab
gofmt -s util/util.go 2017-11-04 08:01:40 +00:00
JeremyRand
6e3101ea76
gofmt -s tlsrestrictchromium/tlsrestrict_chromium_tool/main.go 2017-11-04 08:01:21 +00:00
JeremyRand
e3cd52290a
gofmt -s tlsrestrictchromium/chromium_test.go 2017-11-04 08:00:50 +00:00
JeremyRand
2f0e866870
gofmt -s tlsrestrictchromium/chromium.go 2017-11-04 08:00:31 +00:00
JeremyRand
5152222000
gofmt -s tlshook/tlshook.go 2017-11-04 08:00:09 +00:00
JeremyRand
26b4c4c637
gofmt -s ncdomain/convert.go 2017-11-04 07:59:45 +00:00
JeremyRand
1fb4007fa7
gofmt -s generate_nmc_cert/main.go 2017-11-04 07:59:13 +00:00
JeremyRand
53adb64d85
gofmt -s certinject/file.go 2017-11-04 07:58:54 +00:00
JeremyRand
f70f23aff0
gofmt -s certinject/cryptoapi_windows.go 2017-11-04 07:58:31 +00:00
JeremyRand
65577146fc
gofmt -s certinject/certinject_windows.go 2017-11-04 07:57:58 +00:00
JeremyRand
b1ab832754
gofmt -s certinject_misc.go 2017-11-04 07:57:38 +00:00
JeremyRand
8ec3281780
gofmt -s certdehydrate/certdehydrate_test.go 2017-11-04 07:57:17 +00:00
JeremyRand
62f0e6aa90
gofmt -s certdehydrate/certdehydrate.go 2017-11-04 07:56:56 +00:00
JeremyRand
e8feeb3b00
gofmt -s backend/backend.go 2017-11-04 07:56:21 +00:00
JeremyRand
3a75a2f3b0
Travis: build q and dns-prop279.
(Temporary kludge until we replace the build system with RBM.)
2017-11-03 04:32:01 +00:00
JeremyRand
042dab66aa
Travis: Slight refactor. 2017-11-03 04:20:53 +00:00
JeremyRand
0688b3ea95
Merge #43: Mention DNSSEC Trigger.
2578491 Mention DNSSEC Trigger. (Hugo Landau)

Pull request description:

  Fixes #40.

Tree-SHA512: 38fe7c2d90232299ba92d2e338e7516cf24b57c0ef9bbef5aff82fcc70908dfcc1f7dbf70a5d5a1f207b6f9b8eecb84bb171108ea5d8ed3c7e34ad367ca869f1
2017-09-21 02:11:57 +00:00
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
2017-09-21 02:06:58 +00:00
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
2017-09-21 02:03:29 +00:00
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
2017-09-21 02:00:24 +00:00
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.
2017-09-19 22:44:56 +01:00
JeremyRand
a0f4fa7f3f
tlsrestrict: Fix various golint issues. 2017-09-14 18:37:39 +00:00
JeremyRand
d128f51e48
Remove underscore in tlsrestrict_chromium folder name. 2017-09-14 17:35:11 +00:00
JeremyRand
e1b2e31864
certdehydrate: Improve comments for exported functions. 2017-09-14 17:15:06 +00:00
JeremyRand
1be990949d
Travis CI: Reduce Gox parallelism to 3, because Travis VM's have 2 cores. 2017-09-14 05:13:57 +00:00
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
2017-09-14 05:10:59 +00:00
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
2017-08-20 05:56:11 +00:00
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.
2017-08-19 21:41:55 +01:00
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
2017-08-19 07:49:08 +00:00
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
2017-08-19 07:45:13 +00:00
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
2017-08-19 07:40:05 +00:00
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.
2017-08-18 17:54:11 +01:00
JeremyRand
7eff6e67ac
Docs: Refactor build instructions. 2017-08-11 00:45:41 +00:00
JeremyRand
972c38b199
Build: Makefile: move repo from hlandau/ncdns to namecoin/ncdns. 2017-08-08 05:57:57 +00:00
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
2017-07-30 23:49:54 +00:00
JeremyRand
271a0c72d6
tlshook: Fix linter warning about shadowed variable. 2017-07-28 02:48:44 +00:00
JeremyRand
978116deda
Travis: Disable gometalinter warnings on the portion of x509 that is copied verbatim from the Go standard library. 2017-07-28 02:38:10 +00:00
JeremyRand
05afcd4dab
tlshook: Remove unused imports. 2017-07-28 02:26:43 +00:00