Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,200 of 9,200 pages
About the help in other languages
All help pages

Licenses, licensed installs, downloads

A license is bound to the buyer's account. Sites are unlimited; the key may not be shared (the GPL code may be, the service may not). Downloads are logged with a hashed address; unusual patterns raise a flag for the…

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/ext/exp_app_market/LICENSES.md

On this page

Licenses, licensed installs, downloads

  • A license is bound to the buyer's account. Sites are unlimited; the key may not be shared (the GPL code may be, the service may not). Downloads are logged with a hashed address; unusual patterns raise a flag for the staff.
  • lifetime (one-time purchase): every version, unless the seller prices major upgrades (discount: a lower price for owners of the previous major; full: a new purchase); the license then stops at max_major.
  • subscription: until period_end; renewals move it on. A lapsed subscription keeps the app running at the last version received; downloads and support stop until a renewal. Cancel any time; active to the end of the period.
  • A refund revokes the license and its key; the installed GPL code keeps running.
  • The license is checked only on download. Installed apps never phone home.

The key

The registry makes it (exppkg_license_key, only the SHA-256 is stored, scope: the app's package, the buyer's user id, the expiry for subscriptions). It is shown once on the return page, mailed once, and handed once to the buyer's site for a purchase from its admin.

composer config repositories.exp-market composer https://packages.exponential.earth
composer config http-basic.packages.exponential.earth token <key>
composer require <vendor/package>

git_manager uses the same key for licensed git installs (exp_app_store's installer).

Signed downloads

From the account page: market/download/<license>/<version>/(expires)/<t>/(user)/<id>/(sig)/<hmac>, valid DownloadLinkHours (24); the dist zip the registry built for that version.

Buying from a site's admin

The App Store tab of any site (exp_app_store, policy appstore/buy) opens market/buy/<app>/(return)/<base64url of the site's return URL>. After payment the store sends the buyer back with appmarket_claim=<token>; the site calls POST market/api/claim {"claim": "<token>"} once and gets the package, the key and the registry host; it stores the key in expSecrets, adds the Composer auth and installs the app on every node. Users without appstore/buy can request a purchase. The site side is part of exp_app_store (see doc/TESTING.md for its state).

The registry far away

[Registry] Issuer=remote: the store signs {"action": "create|expiry|revoke", ...} with RegistrySecret (header X-Exp-Market-Signature: t=<time>,v1=<hmac>, 5 minutes) to KeyURL; the registry's site runs exp_app_market with [Registry] Role=registry, whose market/registrykeys answers with exp_package_registry's keys.

Something wrong on this page? Report an error

Documentation license

This page is part of the documentation of the extension exp_app_market and is distributed under the license of that extension.