Manual · Omni-Encryption
License activation
How a paid edition is activated offline with a product key and a .omxlic license certificate. License activation is part of Omni-Encryption 0.8.1, which is in preparation.
Status
What you receive
- A product key, which looks like OMXE-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.
- A license certificate: a file whose name ends in .omxlic.
When sales open, your account lists both for each purchase.
Activate
- Install Omni-Encryption 0.8.1 or later. Its help then lists a license command.
- Copy the product key and download the .omxlic file of your purchase.
- Activate the license with the key and the file.
- Check the result.
omni-encryption license activate --key <key> --file <license.omxlic>
omni-encryption license statuslicense status shows the edition, its capabilities, the expiry date and the days left, or perpetual, and the id of the key that signed the license. Add --json for an answer a program can read. It checks the recorded license again every time it runs.
To keep the key out of your shell history, pass --key - and paste the key on the next line. Upper and lower case both work, and the letters O, I and L are read as 0, 1 and 1.
omni-encryption license deactivate removes the local copy only. It changes nothing in your account.
How the license is checked
- Activation runs on your computer and contacts no server.
- The certificate is signed twice, with Ed25519 and with ML-DSA-87, and both signatures must verify. A file changed after it was issued fails.
- The certificate holds a one-way fingerprint of the product key, so the key and the file must belong together.
- license status counts a subscription as valid for 72 hours after its expiry date and then reports expired. In 0.8.1 no command stops working either way. To keep the license valid, renew it and activate the new license file.
Where the license is kept
In a license folder inside your user configuration folder: a copy of the license file, and an activation record with the fingerprint of the product key, the license id and the time of activation. license status prints where the folder is. The folder is readable by your user account only (mode 0700, files 0600). The product key itself is never saved.
If activation fails
The command exits with status 2 and prints reason: followed by a code, then what to do. Exit status 1 means something else went wrong, for example the file could not be read. A failed activation never replaces a license that is already recorded.
| Reason | Meaning |
|---|---|
| key_invalid | The product key is mistyped or incomplete. |
| file_invalid | The file is damaged or is not a license file. |
| certificate_invalid | The file is not an Omni-Encryption license. |
| authority_unknown | This version does not recognise the key that signed the license. Update Omni-Encryption. |
| signature_invalid | The license file was changed after it was issued. |
| key_mismatch | The product key belongs to a different license. |
| not_yet_valid | The license starts later. Check the computer's date and time. |
| expired | The license expired more than 72 hours ago. |
Limits
- 0.8.1 is in preparation and no release has been built.
- The version in preparation carries no production signing key yet; the key is added when the release is built. Until then, activating a license fails with the reason authority_unknown.
- In 0.8.1 activation records a license and restricts no command.
- A license does not change what the encryption does or how strong it is.
- Omni-Encryption is evaluation-stage software. It has not been independently audited and is not FIPS 140-3 validated.
Documents for this section
-
Omni-Encryption evaluation manual
Requirements, how the package reaches a subscriber, a walk through the evaluation commands with what each prints, key handling and its warnings, switching on the second layer, the Python interface, and common problems.