From 0ac5e86a5b30f6ae41ab3dbd0e73127cbad90f49 Mon Sep 17 00:00:00 2001 From: David Weinstein Date: Fri, 31 Jul 2026 12:59:46 -0400 Subject: [PATCH] chore: add customer use license --- .goreleaser.yaml | 1 + LICENSE.md | 25 +++++++++++++++++++++++++ Makefile | 3 ++- README.md | 9 +++++++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 LICENSE.md diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4c62eae..3808ad8 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -24,6 +24,7 @@ archives: formats: [zip] files: - README.md + - LICENSE.md checksum: name_template: "checksums.txt" diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..4080a7f --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,25 @@ +# NowSecure Customer Use License + +Copyright © 2026 NowSecure, Inc. All rights reserved. + +Subject to the agreement governing a customer's use of NowSecure services +(the "Customer Agreement"), NowSecure grants that customer and its authorized +users a limited, non-exclusive, non-transferable, and non-sublicensable right +to download, build, install, and execute unmodified copies of this software +solely for the customer's internal use with NowSecure services the customer is +authorized to access. + +No right is granted to modify, create derivative works from, redistribute, +sublicense, sell, lease, or use this software or its source code to provide +services to third parties, except to the extent such a restriction is +prohibited by applicable law. All rights not expressly granted are reserved by +NowSecure, Inc. + +The rights granted by this license end when the customer is no longer +authorized to use the applicable NowSecure services. This software remains +subject to the Customer Agreement, including its warranty disclaimers and +limitations of liability. If this license conflicts with the Customer +Agreement, the Customer Agreement controls. + +Third-party components and materials are governed by their respective license +terms. diff --git a/Makefile b/Makefile index 4cde0c5..4c63c7f 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ mcpb: rm -rf $(MCPB_STAGE) $(MCPB_FILE) $(MCPB_CHECKSUM) mkdir -p $(MCPB_STAGE)/server $(dir $(MCPB_FILE)) sed 's/"version": "[^"]*"/"version": "$(VERSION)"/' $(MCPB_MANIFEST) > $(MCPB_STAGE)/manifest.json + cp LICENSE.md $(MCPB_STAGE)/LICENSE.md GOCACHE=$(MCPB_GOCACHE) CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build $(GOFLAGS) -trimpath -ldflags "-s -w $(LDFLAGS)" -o $(MCPB_STAGE)/server/nsmcp-arm64 ./cmd/nsmcp GOCACHE=$(MCPB_GOCACHE) CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build $(GOFLAGS) -trimpath -ldflags "-s -w $(LDFLAGS)" -o $(MCPB_STAGE)/server/nsmcp-amd64 ./cmd/nsmcp lipo -create -output $(MCPB_STAGE)/server/nsmcp $(MCPB_STAGE)/server/nsmcp-arm64 $(MCPB_STAGE)/server/nsmcp-amd64 @@ -31,7 +32,7 @@ mcpb: chmod 0755 $(MCPB_STAGE)/server/nsmcp codesign --force --sign - $(MCPB_STAGE)/server/nsmcp GOCACHE=$(MCPB_GOCACHE) CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build $(GOFLAGS) -trimpath -ldflags "-s -w $(LDFLAGS)" -o $(MCPB_STAGE)/server/nsmcp.exe ./cmd/nsmcp - cd $(MCPB_STAGE) && zip -q -X -r $(abspath $(MCPB_FILE)) manifest.json server + cd $(MCPB_STAGE) && zip -q -X -r $(abspath $(MCPB_FILE)) manifest.json LICENSE.md server cd $(dir $(MCPB_FILE)) && shasum -a 256 $(notdir $(MCPB_FILE)) > $(notdir $(MCPB_CHECKSUM)) @echo "built $(MCPB_FILE)" diff --git a/README.md b/README.md index 643168b..e1a43d7 100644 --- a/README.md +++ b/README.md @@ -461,3 +461,12 @@ make test # go test ./... make vet # go vet ./... make fmt # gofmt -w . ``` + +## License + +Copyright © 2026 NowSecure, Inc. All rights reserved. + +This is proprietary software. Authorized NowSecure customers may download, +build, and run unmodified copies solely for internal use with NowSecure +services they are authorized to access, subject to their applicable agreement +with NowSecure. See the [NowSecure Customer Use License](LICENSE.md).