summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2026-02-14 09:58:28 -0800
committerbndw <ben@bdw.to>2026-02-14 09:58:28 -0800
commitd30459513ec44ab298fafd1bfe0edc08d6ab62e4 (patch)
tree1e4442f940c11544cd60b6bf72f2038338da67ce /Makefile
parentfe3708eaf495613cc6e2340b821795f25811d6ed (diff)
feat: rename allowed_pubkeys to allowed_npubs with normalization
- Config now accepts npub format only (human-readable) - Automatically converts npubs to hex pubkeys at load time - Updated InterceptorOptions.AllowedPubkeys -> AllowedNpubs - Added validation to reject hex format in config (npub only) - Updated documentation to clarify npub-only config - Added comprehensive tests for npub normalization Config is for humans (npub), internal code uses hex pubkeys.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 87ede58..35ea9f7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1.PHONY: proto proto-lint proto-breaking test build clean 1.PHONY: proto proto-lint proto-breaking test build clean deploy
2 2
3# Generate proto files 3# Generate proto files
4proto: 4proto:
@@ -32,6 +32,9 @@ clean:
32 rm -rf api/ 32 rm -rf api/
33 rm -f bin/relay 33 rm -f bin/relay
34 34
35deploy:
36 ship --name nostr-grpc --binary ./bin/relay
37
35# Install buf (if not already installed) 38# Install buf (if not already installed)
36install-buf: 39install-buf:
37 @if ! command -v buf &> /dev/null; then \ 40 @if ! command -v buf &> /dev/null; then \