All notable changes to this project will be documented in this file.
The format follows Keep a Changelog and Aker adheres to Semantic Versioning.
v0.2.0 — 2026-11-07
A licensing server can sign licences without holding the root key.
Added
mix aker.certifysigns a working key's certificate with the root key, offline, and prints it on one line. It never prints the working key.Aker.Issuer.issue/2takes:certificateand:root_keysin place of:root_key. It refuses a certificate no listed root signed, one for another working key, one not in date, and a term that ends after the certificate does.Aker.Issuer.issue/2takes:licence_id, so a renewal keeps its id, and:term_startwith:term_endin place of:term_days.Aker.Issuer.encode_certificate/1anddecode_certificate/1keep a certificate as one line of at most 2 KB.Aker.LicenceFile.read_certificate/3reads a certificate a root key signed, with the checksverify/2runs.Aker.Request.verify/2also answers the product version, the install key's kind, the time and the nonce, and refuses a request whose key kind is neithersoftwarenortpm.
Unchanged
mix aker.signsigns as before, with the root key.
v0.1.0 — 2026-11-06
The first release.
Added
Aker.InstallKeymakes the install key once, in the machine's TPM chip when it has one (Aker.InstallKey.Tpm) and in a file only the app's user can read otherwise (Aker.InstallKey.Software).Aker.MachineIdhashes the host's machine id file.Aker.Requestbuilds an activation request signed by the install key, naming the product and version the app passes, and verifies one.Aker.SigningKeyreads an Ed25519 private key from a PEM file kept outside the checkout, andAker.PublicKeysdecodes a list of Ed25519 public keys.Aker.LicenceFilechecks a signed licence file against the root public keys the app passes, in a fixed order with one refusal reason per check. An empty root key list accepts no licence. A licence may list up to 32 features beside its seats.Aker.Issuersigns a licence from an activation request, andmix aker.signruns it from the command line with keys kept outside the checkout.Aker.Gatechecks the licence at boot and every hour, holds the lock state where every reader finds it, renews the licence in its term's last week, and calls the app back when the install locks or unlocks. A gate that never ran reads locked.Aker.Storeis the contract for where an app keeps its licence.Aker.Clientmakes the calls to the licensing server, andAker.SignedCallsigns them with the install key and checks them on the server's side.