Seregon Store

Verified partners / documentation

Partner guide.

Everything you need to sell on Seregon Store: how listings are reviewed, how you are paid, and how to protect your software with Inferno licensing and signing keys.

Getting started

You sell with your normal Seregon Store account. Open Sell on Seregon in your dashboard and send the application: your public name, a handle (your page lives at /sellers/your-handle), what you want to sell, links to your work and whether you own the rights to it.

Add your GitHub username to the application (or later in your profile): once you are approved, the store invites that account to the private Inferno SDK repository with read access. Accept the invitation from GitHub. Changing the username moves the access; a suspended account loses it.

We email you when your application, or any listing you submit, is approved or needs changes.

Application fee. Applying costs a small fee (shown on the form), which is held on your card, not charged, while we review. If you are approved it is charged; if not, the hold is released and nothing is taken. A card hold lasts about 7 days: if it lapses before the review, you are asked to authorize it again.

Every application is reviewed by hand. Once approved, the same page becomes your partner dashboard with these tabs:

  • Overview: sales for the last 30 days, your estimated share, licenses sold, refunds, rating and sales by month and product.
  • Products: your listings, their status, the submissions waiting for review and each product's signing keys.
  • Discounts & keys: discount codes and free license keys for your products.
  • Reviews: what customers wrote about your products.
  • Profile: name, handle, picture, banner, bio, website and country shown on your public page.
  • Payouts: your payout status and commission.

Listings and review

A listing has a name, an address (slug), a one-line description, a full description in Markdown, a category, features, requirements, operating systems, platforms, optional documentation and repository links, an image, the price and the number of devices per license.

Every new listing and every change is a submission. It goes live only after it is approved. You see each submission and its outcome under Submissions; if changes are requested, the note tells you why. You can withdraw a submission while it waits, and a product can have one submission waiting at a time.

Partners with a consistent record may be marked trusted: their submissions are approved at once. Submissions are always checked again by the store when they are applied.

Status of a product

  • On sale: listed and purchasable.
  • Listed, not on sale yet: a paid product whose partner does not have payouts set up. It is visible in the catalog but cannot be bought.
  • Archived: removed from the catalog, for example when a partner account is suspended.

Rules for a listing

  • Names, handles and addresses cannot contain “Seregon” or look official.
  • Links and images must be full https:// addresses.
  • Prices are in EUR, VAT included, from 1.00 to 5,000.00. A one-time purchase or a monthly or yearly subscription. Free and open-source products are free.
  • 1 to 10 devices per license, enforced by the licensing check below.

Prices, commission and payouts

Customers pay Seregon in the store's single checkout. For each sale you receive the net amount (the price after payment processing fees) minus a 10% commission. The dashboard shows an estimate of your share before fees; the payout is worked out on the actual net of each sale.

Setting up payouts

Open Payouts in your dashboard, choose the country of your bank account and continue on Stripe. Stripe (not Seregon) verifies your identity and collects your bank details; you can return to it any time from Open Stripe dashboard. Until payouts are active, your paid products are listed as coming soon.

When you are paid

  • Every sale, and every renewal of a subscription, records an earning: what the customer paid, minus Stripe's fee, minus the commission.
  • After a 14-day hold (refunds and disputes settle in that time) the earning is transferred to your Stripe account. Stripe then pays it out to your bank on your payout schedule.
  • A refund cancels the earning; if it was already transferred, the transfer is reversed. A dispute puts the earning on hold until it is decided.
  • Sales paid with crypto are checked by the store team before they are transferred.

Discounts and license keys

Under Discounts & keys you create batches of codes for one of your listed products:

  • Percent discount (1–100%) or fixed discount in EUR, either as many single-use keys or as one shared promo code.
  • License keys: free access for 1–120 months or lifetime, one person per key. Use them for reviewers, testers and giveaways.

Customers redeem codes at checkout or under Redeem key in their account. Discounts lower what the customer pays, and your share is worked out on that amount; license keys are not sales and are not paid out. You can pause a batch, revoke unused keys and download the codes as CSV. Up to 1,000 keys per batch.

Releases and downloads

Customers download your releases from their Seregon library: versioned files with release notes, platform, architecture and SHA-256 checksums, through short-lived links. A file is offered only while the customer's license allows it.

Uploading release files from the partner dashboard is not available yet. For now, Seregon adds your release files during review: contact Seregon support from your account with the version, the release notes and the files. Every release is checked before customers can download it, and every release file is scanned for malware with VirusTotal: a file flagged by several engines is taken offline at once.

The signed in-app update check (/api/client/app-updates) currently serves PBS Studio only. Point your users to the library for new versions.

Licensing with the Inferno SDK

Your app proves that the signed-in customer may use your product by asking the store, and it trusts the answer only when the signature checks out with a public key built into your app. The Inferno SDK does this for you; this section describes what it does, so you can configure it and handle each case.

1. Sign the customer in on the device

Start a pairing session, open the store in the browser, then exchange the session for a token once the customer confirms:

POST https://store.seregonwar.com/api/auth/device-login/start
{ "product_slug": "your-product" }
→ { "session_id": "<uuid>", "secret": "<one-time secret>", "expires_in": 300 }

Open in the browser (the secret stays in the fragment, never sent to the server):
https://store.seregonwar.com/auth/device?code=<session_id>#secret=<secret>

POST https://store.seregonwar.com/api/auth/device-login/token      (repeat every few seconds)
{ "session_id": "<uuid>", "secret": "<secret>" }
→ 409 "Pairing not yet confirmed."  keep waiting
→ 410 expired · 403 rejected or no license
→ 200 { "token": "...", "token_type": "Bearer", "expires_in": 86400,
        "refresh_token": "...", "refresh_expires_in": 2592000 }

POST https://store.seregonwar.com/api/auth/device-login/refresh
{ "refresh_token": "..." }   → a new token pair

Store the refresh token in the platform's secure storage (Keychain, DPAPI, libsecret), never in plain files.

2. Ask for access

GET https://store.seregonwar.com/api/client/product-access
      ?slug=your-product
      &nonce=<32 random hex characters, new for every check>
      &device_id=<stable device identifier>
      &key_id=<kid of the key your build trusts>     (recommended)
Authorization: Bearer <token>

→ 200 {
  "allowed": true,
  "state": "active" | "expiring_soon" | "renewal_pending"   (allowed)
         | "expired" | "inactive" | "suspended" | "revoked" | "not_owned" | ...,
  "reason": "...",
  "expires_at": null | "<ISO date>",
  "trial": null | { "expires_at": "<ISO date>" },
  "devices": { "used": 1, "limit": 3 },
  "license_token": "<payload>.<signature>"
}

Decide on allowed and the verified token, not on state alone: state and reason are for the message you show (a trial is an active license with a trial end date). Check again at start-up and periodically (for example every few hours) while the app runs. A 401 means the token expired: refresh it and retry. A 503 means the store cannot sign right now: keep the last verified approval until it expires instead of locking the customer out.

3. Verify the license token

The token is base64url(JSON payload) + . + base64url(Ed25519 signature); the signature covers the payload exactly as received (the base64url text). Accept the answer only if every check passes:

import { createPublicKey, verify } from "node:crypto"

// Your product's public key (Signing keys tab), base64 of the raw 32 bytes.
const TRUSTED = {
  "<kid>": "<public key>",
}

function rawEd25519(publicKeyBase64: string) {
  const spkiPrefix = Buffer.from("302a300506032b6570032100", "hex")
  return createPublicKey({ key: Buffer.concat([spkiPrefix, Buffer.from(publicKeyBase64, "base64")]), format: "der", type: "spki" })
}

export function verifyLicense(token: string, expected: { product: string; nonce: string; device: string }) {
  const [payload, signature] = token.split(".")
  const claims = JSON.parse(Buffer.from(payload, "base64url").toString("utf8"))
  const key = TRUSTED[claims.kid]
  if (!key) throw new Error("unknown signing key")
  if (!verify(null, Buffer.from(payload), rawEd25519(key), Buffer.from(signature, "base64url"))) throw new Error("bad signature")
  const now = Math.floor(Date.now() / 1000)
  if (claims.typ !== "pbs-license-v1") throw new Error("wrong token type")
  if (claims.product !== expected.product) throw new Error("wrong product")
  if (claims.nonce !== expected.nonce) throw new Error("replayed answer")
  if (claims.device !== expected.device) throw new Error("wrong device")
  if (claims.exp <= now) throw new Error("expired answer")
  if (claims.license_exp !== null && claims.license_exp <= now) throw new Error("license ended")
  return claims // state, entitlement_id, account_id, license_exp
}

The answer itself is valid for 10 minutes (exp); license_exp is when the license or trial ends (null for perpetual access). Never extend access beyond license_exp.

4. Protect the check itself

Inferno can also prove that the request comes from an unmodified build of your app (device enrollment and build manifests) and seal parts of your program so they only run after a verified answer. Build manifests are registered by Seregon: contact us with your SDK build to enable them.

Signing keys

Each of your products has its own signing keys, managed under Products → Signing keys. Keys are generated by the store and their private halves never leave it: you only ever copy the public key into your build. Nobody, including you, can download a private key, so a compromised development machine cannot leak one.

  • The first key you generate becomes the primary key and signs right away.
  • Every signed answer names its key in kid. Send key_id=<kid> so the store signs with the key your build trusts; without it the primary key signs.
  • Retired keys still sign for builds that ask for them by kid, but cannot be primary.
  • Revoked keys never sign again: their private key is destroyed. Revoke at once if you think a key was exposed.
  • Up to 10 keys per product; every change is kept in the key history.

Rotating a key

  1. Generate a new key.
  2. Ship builds that trust both keys and send the new key_id.
  3. Make the new key primary once old builds no longer matter.
  4. Retire the old key, and revoke it when no build uses it.

Learning new keys without a new build

GET https://store.seregonwar.com/api/store/products/your-product/keys
→ { "keyset": "<base64url JSON>", "signatures": { "<kid>": "<base64url signature>" } }

keyset JSON: { "typ": "seregon-keyset-v1", "product": "your-product", "iat": ..., "exp": ...,
               "keys": [ { "kid": "...", "public_key": "...", "status": "active", "primary": true } ] }

Verify the signature made by a key your build already trusts over the keyset text, check product and exp, then add the listed active and retired keys to your trusted set and drop any key that is missing. Never accept a keyset signed only by a key you do not already trust.

Reviews, support and refunds

Customers who own your product can leave a short review; your average rating and the latest reviews appear on your product pages and your partner page.

You support your product: describe how customers reach you in the listing's support field and on your profile. Seregon handles checkout, licenses, downloads and refunds under the store's refund policy, and steps in when a customer cannot reach you.

Partner rules

  • Sell only software you have the right to sell, and respect the licenses of any third-party code you ship.
  • No malware, hidden data collection, or functions the listing does not describe.
  • Do not present yourself or your products as Seregon's, and keep your listing accurate.
  • Keep your signing keys' public halves in your builds and revoke a key you believe is exposed.

Breaking these rules can lead to listings being removed or the partner account being suspended; a suspended account's products are archived at once. The store terms apply to everything you sell here.

Questions

How long does review take?

Applications and submissions are reviewed by hand, usually within a few days.

Can I change the price later?

Yes, with a new submission. Existing customers keep what they bought.

What happens to my keys if I lose access to my machine?

Nothing: they were never on it. Sign in from another device and manage them from the dashboard.

Who do I contact?

Open a ticket from Support in your account, or write to support@seregonwar.com.

Partner guide | Seregon Store