From d30459513ec44ab298fafd1bfe0edc08d6ab62e4 Mon Sep 17 00:00:00 2001 From: bndw Date: Sat, 14 Feb 2026 09:58:28 -0800 Subject: 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. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 87ede58..35ea9f7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: proto proto-lint proto-breaking test build clean +.PHONY: proto proto-lint proto-breaking test build clean deploy # Generate proto files proto: @@ -32,6 +32,9 @@ clean: rm -rf api/ rm -f bin/relay +deploy: + ship --name nostr-grpc --binary ./bin/relay + # Install buf (if not already installed) install-buf: @if ! command -v buf &> /dev/null; then \ -- cgit v1.2.3