Commit Graph

396 Commits (master)
 

Author SHA1 Message Date
Jeremy Rand f4fcb01220
Fix varnamelen warning in SplitDomainByFloatingAnchor 2 years ago
Jeremy Rand 0eb6f7c761
Fix comment typo 2 years ago
Jeremy Rand 524d5ba93b
Cirrus: Whitelist type assertions in varnamelen linter 2 years ago
Jeremy Rand 1739b886ab
Merge #149: Use new certinject package
9c865846be Use new certinject package (Jeremy Rand)

Pull request description:

  The following defaults have unfortunately changed as a result, and will need to be set in ncdns.conf:

  * `capi.physical-store`
  * `capi.set-magic-name`
  * `capi.expirable-magic-name`

Top commit has no ACKs.

Tree-SHA512: 70155a9311c0348781d7ec3b2fc5265deacaec64d3e29ebd856a850f6d3b5560572773dc7dedcab871d53db53719dac24ba7adcb40350499ddef1d00ffbace03
2 years ago
Jeremy Rand 9c865846be
Use new certinject package
The following defaults have unfortunately changed as a result, and will
need to be set in ncdns.conf:

capi.physical-store
capi.set-magic-name
capi.expirable-magic-name
2 years ago
Jeremy Rand 275374c1c2
Merge #150: Add Go 1.17-style build constraints
3080d1c892 Add Go 1.17-style build constraints (Jeremy Rand)

Pull request description:

  Fixes some gofmt warnings.

Top commit has no ACKs.

Tree-SHA512: 764f4be61b5c07d590998df932df7f4928a509cd7b4146292a4ca3daac3e80114c306abd6d8dd79d1930be31918ce6540f8582122749a1a1b052a3bb302cbbeb
2 years ago
Jeremy Rand 3080d1c892
Add Go 1.17-style build constraints
Fixes some gofmt warnings.
2 years ago
Jeremy Rand 2a486311b0
Merge #142: readme: specify module path in go mod init command
352b173e13 Cirrus: Specify module path in "go mod init" (Jeremy Rand)
db018882ed readme: specify module path in go mod init command (Jeremy Rand)

Pull request description:

  Fixes error:

  	go: cannot determine module path for source directory
  	/home/redfish/foo/ncdns (outside GOPATH, module path must be
  	specified)

  Fixes #141

Top commit has no ACKs.

Tree-SHA512: 06368a0a936efdea2aa0fe44847459d3b5f61fc440dc977f7fbd302fc9fa14c3555ffbdc7cd41eeb570748032f3a2e9db0e563315658d42685c2b4429599c6ad
3 years ago
Jeremy Rand 352b173e13
Cirrus: Specify module path in "go mod init"
This makes Cirrus match the README.
3 years ago
Jeremy Rand db018882ed
readme: specify module path in go mod init command
Fixes error:

	go: cannot determine module path for source directory
	/home/redfish/foo/ncdns (outside GOPATH, module path must be
	specified)

Fixes #141
3 years ago
Jeremy Rand 86ccd0cbbc
Merge #148: Cirrus: Also run unit tests on Fedora
5e6b643ad6 Fix go-systemd import with Go modules (Jeremy Rand)
468f40c70e Cirrus: Fix nctestsuite when GOPATH not set (Jeremy Rand)
bb369d083c Cirrus: Fix error when GOPATH is unset (Jeremy Rand)
3db1ee0c33 Cirrus: Add Fedora Unit Tests task (Jeremy Rand)
a0eb8a7034 Cirrus: Factor out container image for Unit Test task (Jeremy Rand)

Pull request description:

  Requested by Stuart Gathman for Fedora packaging.

Top commit has no ACKs.

Tree-SHA512: c09b0d7505821abd721c768cf9a13da48566004937087e0ff0eef7ab78ecf337dbc4935b7e64f3a9783a8991e23432813ac543b3578e2b4f9c34f7b7e65991e0
3 years ago
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
3 years ago
Jeremy Rand fdad4b478c
Cirrus: Upload artifacts directly from Cross-Compile Task 3 years ago