2
0
mirror of https://github.com/namecoin/ncdns synced 2024-11-16 00:13:01 +00:00
Commit Graph

175 Commits

Author SHA1 Message Date
JeremyRand
3792dd3e95
Merge #48: Web server: minor refactor of initTemplates
ee5a290 Travis: Make gosimple critical for gometalinter. (JeremyRand)
18a502d Web server: minor refactor of initTemplates. (JeremyRand)

Pull request description:

  Based on recommendations from "gosimple" static analysis.  ~Depends on https://github.com/namecoin/ncdns/pull/46 .~

Tree-SHA512: c0aaebac6d91b1c958223f4e4e49626bb1ed896409cc8fa7eef13abde0d44f89565e9460c254f842785f2bd1d590457123e2a7b670dc5faa82fe3a66c76d7d4e
2018-03-12 22:07:18 +00:00
JeremyRand
49b181854b
Merge #17: NSS TLS certificate injection
375ff45 certinject: NSS: Add an internal test. (JeremyRand)
ead7a20 certinject: NSS: Improve error handling. (JeremyRand)
145d1e3 certinject: Fix various issues found by static analysis. (JeremyRand)
2c8b5fe certinject: NSS improvements, now works on arbitrary NSS cert store directories. (JeremyRand)
e5c7c09 certinject: add support for the shared NSS trust store on GNU/Linux systems. (JeremyRand)

Pull request description:

  Extend #16 to support the user's shared NSS trust store on GNU/Linux systems.

  Please review but do not merge yet.

  TODO before merging:

  - [x] Get #16 merged.
  - [x] Figure out what to do in the case where ncdns isn't run by the same user as the owner of the NSS database.  Presumably it makes sense to run ncdns under its own user.  Should we require a config option that lists the users whose NSS databases are written to?

  Other issue to discuss:

  Writing to the NSS database with `certutil` is really slow, I'm seeing ~700ms latency added by this.  Is there a faster way to do it?  If we try to handle multiple NSS databases (one per user), this could easily cause DNS timeouts.  Using the system NSS database should be possible, but it would be unsafe for users who haven't installed the HPKP pin into Chromium.

Tree-SHA512: d35fcb44e6c09d6654140de8cf378b0b7523ac19d63d007064db14d5c84cd2178cad95d348baa3234843d215fb563185b98ced33c3e876876d8d42a01ba4e6a7
2018-03-12 21:58:16 +00:00
JeremyRand
acad83801f
Merge #63: Change default Namecoin RPC host from localhost to 127.0.0.1.
1f98613 Change default Namecoin RPC host from localhost to 127.0.0.1. (JeremyRand)

Pull request description:

  This should be a harmless change, and for some unknown reason it fixed an "unexpected end of JSON input" RPC error on my Windows 10 x86_32 VM.

Tree-SHA512: 9ceb14423dcacf7448922bb76d2da7e8fc1f2ccb002b01c6a81b576e441143b756feef48428f54c279cacda70ab98234c8b47c60aef02bf37b03eae30f69ba89
2018-03-12 21:25:36 +00:00
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
1f98613cff
Change default Namecoin RPC host from localhost to 127.0.0.1.
This should be a harmless change, and for some unknown reason it fixed an "unexpected end of JSON input" RPC error on my Windows 10 x86_32 VM.
2018-03-11 09:08:11 +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
ee5a29079f
Travis: Make gosimple critical for gometalinter. 2017-11-08 15:42:20 +00:00
JeremyRand
18a502d8aa
Web server: minor refactor of initTemplates.
Based on recommendations from "gosimple" static analysis.
2017-11-08 15:42:19 +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