A node without an identity-bound sync token answered token peer requests with 503 "node sync disabled" or "identity-bound node token required", which tells a peer to retry, and one Go node polls this origin every two minutes. Such a request can only succeed by signing with the peer's node identity, so both servers now answer 401 "signed peer identity required". The decision lives in src/node/node_token.zi, which the Go and native servers share, with one table-driven test for each build.
13 lines
1.2 KiB
Makefile
13 lines
1.2 KiB
Makefile
# Native make shim. The canonical build is the GNU Makefile.
|
|
GMAKE ?= gmake
|
|
|
|
.PHONY: all build test run clean liboqs generate check-generated build-ziran-native-server build-ziran-native-embedded test-ziran test-ziran-ir test-ziran-native test-ziran-native-sqlite test-ziran-native-http test-ziran-native-http-coding test-ziran-native-ml-dsa44 test-ziran-native-account-auth test-ziran-native-server build-native-checks test-ziran-native-google-play test-ziran-native-ledger test-ziran-native-embedded test-ziran-native-node-token sqlite-native microhttpd-native native-release build-native compression-bench
|
|
|
|
.MAIN: all
|
|
|
|
all:
|
|
$(GMAKE) -f Makefile $@
|
|
|
|
build test run clean liboqs generate check-generated build-ziran-native-server build-ziran-native-embedded test-ziran test-ziran-ir test-ziran-native test-ziran-native-sqlite test-ziran-native-http test-ziran-native-http-coding test-ziran-native-ml-dsa44 test-ziran-native-account-auth test-ziran-native-server build-native-checks test-ziran-native-google-play test-ziran-native-ledger test-ziran-native-embedded test-ziran-native-node-token sqlite-native microhttpd-native native-release build-native compression-bench:
|
|
$(GMAKE) -f Makefile $@
|