Commit Graph

385 Commits (8ce7b78034373b6afbabbe452b45af1fffee7863)
 

Author SHA1 Message Date
Jeremy Rand 5e6b643ad6
Fix go-systemd import with Go modules
See https://github.com/coreos/go-systemd/issues/321
3 years ago
Jeremy Rand 468f40c70e
Cirrus: Fix nctestsuite when GOPATH not set 3 years ago
Jeremy Rand bb369d083c
Cirrus: Fix error when GOPATH is unset 3 years ago
Jeremy Rand 3db1ee0c33
Cirrus: Add Fedora Unit Tests task 3 years ago
Jeremy Rand a0eb8a7034
Cirrus: Factor out container image for Unit Test task 3 years ago
Jeremy Rand 134ab11e4c
Merge #147: Web server: use short if syntax
5f9cf7f18f Web server: use short if syntax (Jeremy Rand)

Pull request description:

  Fixes warning from `ifshort` linter.

Top commit has no ACKs.

Tree-SHA512: 9ae71546ffc6bb56fd5032d1b393a173f86b3e609b8226838ac4d91f736a6acfa85dd57cb5b40ef592ba5bd9c23420dc8c4d9d083f4b6d64878cfaab8887fd58
3 years ago
Jeremy Rand 5f9cf7f18f
Web server: use short if syntax
Fixes warning from "ifshort" linter
3 years ago
Jeremy Rand c3b9475c86
Merge #146: Repo split: remove tlsrestrictchromium
431d2571bf Repo split: remove tlsrestrictchromium (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 9f9d20441bfcef8c6f49dfa78820ddacce71ee1d98d2d0700f3d4aa4e24994325aaf987cd2627f229483a0f474e1cf521dc970dca3a8de17674427f1a3aa59d8
3 years ago
Jeremy Rand 431d2571bf
Repo split: remove tlsrestrictchromium 3 years ago
Jeremy Rand 1086a5b4c6
Merge #145: Cirrus: Disable some unrecommended linters
8c782e83bb Cirrus: Simplify Unit Test and Cross Compile task names (Jeremy Rand)
0ebd3588d1 Cirrus: Simplify Lint task names (Jeremy Rand)
7c7265054b Cirrus: Disable gomoddirectives linter if Go modules are disabled (Jeremy Rand)
348ddfd191 Cirrus: Disable gomodguard linter if Go modules are disabled (Jeremy Rand)
47f7861075 Cirrus: Disable interfacer linter (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 8b7c60a34d6d93e805209089cef367cc0b0c7e960613a7089c579205cef88645d670227c5ffc16f68d9a1cc203b6a2f364208b84cd38be39dd117f275a7a13b1
3 years ago
Jeremy Rand 8c782e83bb
Cirrus: Simplify Unit Test and Cross Compile task names 3 years ago
Jeremy Rand 0ebd3588d1
Cirrus: Simplify Lint task names 3 years ago
Jeremy Rand 95064452ee
Merge #144: Add COPYING file (GPLv3)
6ac5d44c59 Add COPYING file (GPLv3) (Jeremy Rand)

Pull request description:

  Requested by Stuart Gathman for Fedora packaging.

Top commit has no ACKs.

Tree-SHA512: 338b2ca831301dcb5afde817366f3b9e00df5951ead5cd53fc9291ab3f69a318b87b6b73228bd399c03728bb9fcb657856454d6622c8a919b9d863376f120677
3 years ago
Jeremy Rand 7c7265054b
Cirrus: Disable gomoddirectives linter if Go modules are disabled
This linter can't run without Go modules.
3 years ago
Jeremy Rand 348ddfd191
Cirrus: Disable gomodguard linter if Go modules are disabled
This linter can't run without Go modules.
3 years ago
Jeremy Rand 47f7861075
Cirrus: Disable interfacer linter
Deprecated by golangci-linter since v1.38.0.
3 years ago
Jeremy Rand 8cc2c19bdb
Merge #143: CI: Whitelist go.mod replace x509-compressed
4b128a4904 CI: Whitelist go.mod replace x509-compressed (Jeremy Rand)

Pull request description:

  Fixes a warning from gomoddirectives linter.

Top commit has no ACKs.

Tree-SHA512: dd0e4c4bbfc9693cab8c21cbbf92540f4fcb72e1a77c96f91873b82ae46847bdd5e77f02718c28a9acef0a3c1fa3118092c8ea8501861a0a8b293b600002ddf4
3 years ago
Jeremy Rand 6ac5d44c59
Add COPYING file (GPLv3)
Requested by Stuart Gathman for Fedora packaging.
3 years ago
Jeremy Rand 4b128a4904
CI: Whitelist go.mod replace x509-compressed
Fixes a warning from gomoddirectives linter.
3 years ago
Jeremy Rand f8e40887fb
Merge #140: Remove generate_nmc_cert
8fade28964 Cirrus: Mark forcetypeassert,govet,nilerr,wastedassign linters as non-mandatory (Jeremy Rand)
bd4a53b2ec Mark nolintlint linter as mandatory (Jeremy Rand)
ae538623c3 Mark gofmt linter as mandatory (Jeremy Rand)
e56fdfedb5 Remove generate_nmc_cert (Jeremy Rand)

Pull request description:

  It has been moved to its own repo.

Top commit has no ACKs.

Tree-SHA512: 3c9571bc571f7c0ffecfe26feb59cf2c1daece1106a37263ead8578efb471286e3d8030b6479bcea12ffdf2c2fcffa0f5a3266cad96903efa9368b86c3382aa4
3 years ago
Jeremy Rand 8fade28964
Cirrus: Mark forcetypeassert,govet,nilerr,wastedassign linters as non-mandatory 3 years ago
Jeremy Rand bd4a53b2ec
Mark nolintlint linter as mandatory 3 years ago
Jeremy Rand ae538623c3
Mark gofmt linter as mandatory 3 years ago
Jeremy Rand e56fdfedb5
Remove generate_nmc_cert
It has been moved to its own repo.
3 years ago
Jeremy Rand 554079a95d
Merge #139: Re-enable ASLR/PIE on Windows
bf4c60384a Revert "Disable ASLR/PIE on Windows" (Jeremy Rand)

Pull request description:

  This reverts https://github.com/namecoin/ncdns/pull/137 .

  The bug that necessitated disabling ASLR/PIE was fixed in https://github.com/hlandau/service/releases/tag/v2.0.17 ; thus we can enable it again in ncdns.

  Fixes https://github.com/namecoin/ncdns/issues/138

Top commit has no ACKs.

Tree-SHA512: 14e086a06782b258f742dc6f3a2293454022ec4cd29225d430e3511fa0598d5251f6d1e1b3e9919bcb41e4308680bb2b886f7dc750323f3c290eb4ab90ac9151
3 years ago
Jeremy Rand bf4c60384a
Revert "Disable ASLR/PIE on Windows"
This reverts commit 7dd7a76d3a.

The bug that necessitated disabling ASLR/PIE was fixed in hlandau/service
v2.0.17; thus we can enable it again in ncdns.
3 years ago
Jeremy Rand 6482dc9eb0
Merge #137: Disable ASLR/PIE on Windows
7dd7a76d3a Disable ASLR/PIE on Windows (Jeremy Rand)

Pull request description:

  Refs https://github.com/hlandau/service/issues/14

Top commit has no ACKs.

Tree-SHA512: 6794db9358ceec05870763412e7685b2c7b3261f40ead6ed2d7f35e0b3e391d1f96d329f2d83a79be507052fb1380a8abace6a508a8d7c0fc20f757164acba3a
3 years ago
Jeremy Rand 7dd7a76d3a
Disable ASLR/PIE on Windows
Refs https://github.com/hlandau/service/issues/14
3 years ago
Jeremy Rand 910eaaf3eb
Merge #136: Support building with Go modules
49319f6a7a Cirrus: Mark cyclop,revive linters as non-mandatory (Jeremy Rand)
981e87e4e0 Cirrus: Run with both modules enabled and disabled (Jeremy Rand)
ae92da7a1b README: document building with Go modules (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 14e086a06782b258f742dc6f3a2293454022ec4cd29225d430e3511fa0598d5251f6d1e1b3e9919bcb41e4308680bb2b886f7dc750323f3c290eb4ab90ac9151
3 years ago
Jeremy Rand 49319f6a7a
Cirrus: Mark cyclop,revive linters as non-mandatory 3 years ago
Jeremy Rand 981e87e4e0
Cirrus: Run with both modules enabled and disabled 3 years ago
Jeremy Rand ae92da7a1b
README: document building with Go modules 3 years ago
Jeremy Rand e4be195b7a
Merge #134: Support AIA and compressed pubkeys
7287e92825 Fix nlreturn warning (Jeremy Rand)
c0694b002d Fix name field of cached TLSA records (Jeremy Rand)
5336820800 Add "aia" MetaDomain (Jeremy Rand)
88affcd3fe TLS: Add compressed pubkey support (Jeremy Rand)

Pull request description:

  Refs namecoin/safetlsa#3

Top commit has no ACKs.

Tree-SHA512: 77984e8674814b8ac586d98f83725b9901a942218e7c4d34cfe6d390f6e0994c943978132a36d4f1812245ce8700275570235ccdec434f186607d8de72bffab5
3 years ago
Jeremy Rand 7287e92825
Fix nlreturn warning 3 years ago
Jeremy Rand c0694b002d
Fix name field of cached TLSA records 3 years ago
Jeremy Rand 5336820800
Add "aia" MetaDomain
Currently hardcoded to point to "this" MetaDomain

Refs https://github.com/namecoin/safetlsa/issues/3
3 years ago
Jeremy Rand 88affcd3fe
TLS: Add compressed pubkey support 3 years ago
Jeremy Rand 1fced9acba
Merge #133: Cirrus: Upload artifacts directly from Cross-Compile Task
fdad4b478c Cirrus: Upload artifacts directly from Cross-Compile Task (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 807e8a484a80eaa0c9fc4c1b0c0e5a2e3da8f180a26861d943c0845eff5dfc7f6c94e02f23613c7c4135a78f2fa71219649fc18d362edc7ab65a5e01b5af722b
4 years ago
Jeremy Rand fdad4b478c
Cirrus: Upload artifacts directly from Cross-Compile Task 4 years ago
Jeremy Rand 2131591bd9
Merge #132: Add Cirrus CI
b7c3f68dac Add Cirrus CI (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: 7bd9359d9ada704e6c578a8b3e0625bbeaacf57de60f41065d28227eb8965297755bff82da0ca304dd93f110e205e1160c866c194e6b91a3e92198dcd36a948c
4 years ago
Jeremy Rand b7c3f68dac
Add Cirrus CI 4 years ago
Jeremy Rand 2fa54cd3b5
Merge #131: certdehydrate: Fix unit test for Golang issue 40458
ba3a981852 certdehydrate: Fix unit test for Golang issue 40458 (Jeremy Rand)

Pull request description:

  `CreateCertificate` now checks the resulting signature as of Go 1.16+.  This was confusing our unit test for invalid dehydrated certs, which was expecting to need to verify the cert after the cert was created.

Top commit has no ACKs.

Tree-SHA512: 120daa2f4bb0849e452431d9ef30da39a10e52312311be038e115db056e7531aa8dacc651cd6f96e7e91b469525ca93f21d18c5f72b9705118a86b9df5592b20
4 years ago
Jeremy Rand ba3a981852
certdehydrate: Fix unit test for Golang issue 40458
CreateCertificate now checks the resulting signature as of Go 1.16+.
This was confusing our unit test for invalid dehydrated certs, which was
expecting to need to verify the cert after the cert was created.
4 years ago
Jeremy Rand 8b915a1aa4
Merge #130: Travis: Add Go 1.13.x, 1.14.x, 1.15.x
39a0d8d25e Travis: Disable darwin/386 for Go 1.15+ (Jeremy Rand)
a1f234a64f Travis: Add Go 1.13.x, 1.14.x, 1.15.x (Jeremy Rand)

Pull request description:

Top commit has no ACKs.

Tree-SHA512: d18576050a2e594d64a6549d572ea7e033877a945603b8de8c548e0e48558b3146f6789fd6b38a7f6bb6bcf766ad01316b89cd961fe5c662a2d47d049deae569
4 years ago
Jeremy Rand 39a0d8d25e
Travis: Disable darwin/386 for Go 1.15+
Target no longer supported by Golang devs.
4 years ago
Jeremy Rand a1f234a64f
Travis: Add Go 1.13.x, 1.14.x, 1.15.x 4 years ago
Jeremy Rand c947efb679
Merge #128: Use splicesign and standard x509
d28a01dcd5 Use pointer receiver on DehydratedCertificate methods (Jeremy Rand)
647f05f049 Update Travis IRC notifications (Jeremy Rand)
eef31fbdc4 Use splicesign and standard x509 (Jeremy Rand)

Pull request description:

  Thanks to Filippo Valsorda for the tip.

Top commit has no ACKs.

Tree-SHA512: ab62206c62315610efdbd09af3dbe01599561d692043af6cbec528bf64c1cd3c84e9285d88d87517f3e01a49224003cd7092517b95f20fdea32d4c802e9459f2
4 years ago
Jeremy Rand d28a01dcd5
Use pointer receiver on DehydratedCertificate methods
Improves speed by avoiding copy operations.
4 years ago
Jeremy Rand 647f05f049
Update Travis IRC notifications 4 years ago
Jeremy Rand eef31fbdc4
Use splicesign and standard x509
Thanks to Filippo Valsorda for the tip.
4 years ago