Die Entwickler-Doku gibt es nur auf Englisch.
Security information
What you need to know to integrate the SDK securely, keep it up to date and remove it cleanly. This page is the user information the EU Cyber Resilience Act asks for (Annex II); it covers the SDKs in all languages together with the Client API and signing service they talk to.
Pre-release. No stable version exists yet. Manufacturer details and the product name are added with the first stable release; until then, use the contact below.
Manufacturer and contact
- Manufacturer: to be added with the first stable release.
- Report a vulnerability: contact@sparx.foundation, subject starting with
[security]. Policy, response times and coordinated disclosure: SECURITY.md. - EU declaration of conformity: linked here once issued.
What the SDK is for
The SDK activates a license on a device, verifies short-lived license tokens signed by the license server, and renews them. It is meant to be built into desktop and server applications on Windows, macOS and Linux. Its security properties:
- It holds public keys only. There is no secret in your application that an attacker could extract.
- Every license decision is signed by the server (Ed25519, PASETO v4.public) and bound to the device, the license, a one-time value and a short time window. Responses cannot be forged or replayed.
- Each activation creates its own device key on the device and signs its calls with it; only the public half is sent. A copied license token or request cannot act for the device.
- It refuses a system clock set before the last seen server time.
- It reads a few documented hardware features only when you call
activate, with the rights your application already has. The server only sees keyed digests (device identification). - It never runs code it receives. Plain
http://is refused except forlocalhost.
Known limits and risks
- Local-only value can be cracked. If everything your application does runs on the end user's device, a determined attacker can patch the check out. Put real value on your server and gate it by license (vendor guide).
- Storage outside the operating system's secure store. If you pass your own storage, it holds the device secret and the device key; protect it like a password store.
- Your own transport. If you pass your own HTTP transport, keep TLS verification on. Signatures still protect the content, but not the confidentiality of license keys.
- Test versions. Versions
0.xand pre-releases are not for production.is_prerelease(orIsPrerelease,isPrerelease()) is true for them. - Old versions. Versions past their support end receive no security fixes, and the server may refuse versions with known vulnerabilities after announcing it.
Support period
Each minor version receives security fixes for five years from its release. The end date is stated in the release notes of every stable version and in the table below. The client protocol stays supported for at least 24 months after a successor is released.
| Version | Released | Security fixes until |
|---|---|---|
0.x (alpha) |
not released | none, test versions |
Set up securely
- Get the product ID and public key from the dashboard. Use the test environment until you go live.
- Verify the release you downloaded: Verify a release. The SBOM (
*.cdx.json) in the release lists every bundled component. - Keep the default secure storage and transport unless you have a reason not to.
- Check the license at startup and before gated features, and renew in the background (see the quickstart of your language).
Updates
The SDK does not update itself: it is part of your application, and you ship its updates with yours. To stay secure:
- Watch the security advisories (published with every fix) and the release notes. Security fixes come as patch versions without new features, free of charge.
- Update to the latest patch version of your minor version as soon as a security fix is out, and ship it to your customers.
- Your customers' applications keep working while you roll out an update: tokens are renewed as before, within the protocol's compatibility promise.
Changes that affect security
Disabling checks, catching and ignoring license errors, replacing storage or transport, or changing the public keys weakens the protection the SDK gives your application. Key rotation is safe when you follow concepts: ship the new key next to the old one before the server switches.
Remove the SDK and its data
- Call
deactivateto free the device's activation on the server and delete the stored token. - The SDK stores its data per product and environment in the operating system's secure storage (or your own storage): the license token, the last seen server time, the device secret, the device key and an installation ID. Removing your application's entry there removes all of it.
- On the server, activations and license data follow the deletion rules in your contract and the data processing agreement.
For integrators
You are the manufacturer of your own application. To meet your own obligations:
- List the SDK and its bundled components from the SBOM in your application's SBOM.
- Forward our security advisories to your process for handling vulnerabilities, and ship fixes to your customers.
- Use the privacy texts for your privacy notice.