Skip to content

Private Binary Download Endpoint for Paying Customers

← All revisions

3f1e0da5 · PointSav Digital Systems ·

docs(wiki): add 5 bilingual TOPIC pairs — crypto/license/PPN/console/distribution architecture (10 files)

View the full record as of this revision →

@@ -0,0 +1,116 @@
---
schema: foundry-doc-v1
title: "Private Binary Download Endpoint for Paying Customers"
slug: private-git-paid-customer-endpoint
category: services
type: topic
quality: complete
status: active
audience: vendor-public
bcsc_class: no-disclosure-implication
language_protocol: PROSE-TOPIC
last_edited: 2026-06-13
editor: pointsav-engineering
paired_with: private-git-paid-customer-endpoint.es.md
short_description: "The binary release server behind software.pointsav.com verifies Ed25519 license tokens and streams compiled binaries. Stateless by design — it holds no payment records, no customer data, and no signing keys."
cites: []
---

The binary release server is the component of `software.pointsav.com` that delivers
compiled binaries to paying customers. It is a thin, stateless gate: it holds no payment
records, no customer data, and no signing keys. Its sole responsibility is to verify that
a presented license token is genuine and authorises the requested product, then stream
the binary file. A customer who has completed a purchase and holds a valid token can
download the corresponding binary without any further interaction with the payment
infrastructure.

## Route structure

The release server organises its endpoints into four categories.

**Product and version discovery.** An unauthenticated product index lists all products
whose releases are available on the server, and a version index lists all available
versions for a given product. These endpoints require no license token and are designed
for consumption by tooling such as package managers, installer scripts, and CI pipelines.

**Versioned binary download.** The primary gated endpoint serves a binary for a specific
product, version, and platform. Requests to this endpoint require a valid license token.
A detached Ed25519 signature file for each binary is available at a corresponding path
and is always unauthenticated — detached signatures are public by design, allowing any
party to verify the authenticity of a binary without holding a license.

**Latest-version redirect.** A convenience endpoint resolves the highest available version
for a given product and platform and issues a redirect to the versioned download path. The
license token is forwarded through the redirect. The redirect only targets platform and
version combinations for which a release actually exists; it will not redirect to a version
that lacks a binary for the requested platform.

**Release manifest.** A per-version metadata endpoint serves a structured manifest
describing the contents of a release. No authentication is required. This endpoint is
useful for tooling that needs to inspect what a release contains before initiating a
download.

## Authentication

The release server accepts a license token in two forms.

**HTTP Authorization header.** The token is passed as a Bearer credential in the
`Authorization` header. This is the standard form for programmatic clients, automated
installers, and command-line tools that can set arbitrary request headers.

**Query parameter.** The token is passed as a `token` parameter appended to the URL.
This form exists specifically to enable browser-initiated one-click download links: a
storefront can generate a URL that includes the token, allowing a customer to download
a binary directly from their browser without configuring any HTTP headers. Both forms are
equally secure — neither exposes the token to additional parties beyond the client and
the server.

## Verification logic

The server decodes the base64url token string, splits off the first 64 bytes as an Ed25519
signature, and verifies the signature over the remaining bytes using the server's stored
public verification key. It then parses the payload and checks two things: that the
product field in the payload matches the product being requested, and that the expiry date
has not passed. A token for a different product returns 403. A token whose signature does
not verify returns 401. An expired token returns 403 with a reason indicating the channel
has expired. The token format is described in full in [[crypto-license-sales-architecture]].

## Platform strings

Platform strings follow the Rust target triple convention. Examples include
`x86_64-unknown-linux-gnu` for 64-bit Linux on x86, `aarch64-unknown-linux-gnu` for
64-bit ARM Linux, and `x86_64-apple-darwin` for macOS on Intel. The server maps the
product name, version string, and platform triple directly to a file path in the releases
directory. If no binary has been built for the requested combination, the server returns
404 with a note that the build pipeline has not yet produced that release. The
latest-version redirect endpoint only redirects to platform strings for which a release
file actually exists.

## Key management and fail-safe behaviour

The server loads the public Ed25519 verification key at startup from a configuration
source. If no key is configured, the server does not silently accept all tokens: the
download and verification endpoints return a service-unavailable response. This fail-safe
behaviour means a misconfigured or freshly deployed instance that has not yet been given a
verification key will reject all requests rather than accidentally grant access. A correctly
configured instance with a valid key will accept tokens signed by the corresponding private
key and reject all others.

## What the server does not do

The release server does not track individual downloads or maintain any download history.
It does not implement token revocation: once a token is issued, it remains valid until its
expiry date, and there is no revocation list. Customers who need to prevent a compromised
token from being used must wait for the token to expire; key rotation by the storefront
invalidates all previously issued tokens at the cost of requiring existing customers to
re-issue their tokens.

The server does not serve source code and does not act as a Git server. A stub endpoint
at the Git protocol path returns a redirect to the public GitHub repository rather than
proxying Git operations. This route is reserved for a future version that may offer
authenticated Git access to private repositories.

## See also

- [[crypto-license-sales-architecture]] — how payments are processed and tokens are issued upstream of this server
- [[software-distribution-substrate]] — overview of the three-component system this server belongs to
Important Information

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is a trade name of Woodfine Capital Projects Inc. ("Woodfine"). PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. See TRADEMARK.md in this repository for the full trademark notice.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →