Manual

Omni-Encryption evaluation manual

Product
Omni-Encryption
Version
0.8.0
Date
2026-12-05
Classification
Public

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.

What this manual covers

This manual shows how to evaluate Omni-Encryption 0.8.0: what you need, how the package reaches you, which commands to run and what each one prints, how keys are handled, how to switch on the second layer, how to use the package from Python, and what to do when something fails.

The command-line tool is a lab and evaluation tool, and describes itself as Omni-Encryption lab tools. It demonstrates the cipher, the hybrid handshake, the second-layer envelope and file sealing, runs the lab check and the benchmark, and prints the package's own scope statements. No command encrypts or decrypts an arbitrary file with the cascade; use the Python interface for that.

Every command and output shown in this manual comes from runs on 2026-12-05 against the project's committed source tree, on one machine under heavy load. Requirements and limits that are not shown in an output come from the project's source and notes. None of it comes from a downloaded package, because no download is open yet.

Requirements

ItemRequirement
Python3.11 or 3.12 (declared). The commands in this manual ran on Python 3.12.14.
cryptography packageVersion 49.x, installed in the interpreter you run. Version 49 or newer is needed for ML-KEM-1024 and ML-DSA-87.
Operating systemThe runs in this manual used macOS 27.2.1. No other operating system was tested.
NetworkNone. The package contains no network transport.
DiskThe benchmark writes two small report files into the current directory.
LicenceTo be confirmed at the patent filing, as the Core plan listing says. The package metadata says Proprietary.

How the package reaches you

Software opens from your home dashboard after you sign in with a plan that includes it. Documents, including this manual, are free and need no account.

DownloadPlanStatus of the plan
Omni-Encryption core libraryCoreafter patent filing
Omni-Encryption Vault command-line toolVaultin preparation
Developer licence fileDeveloper licencein preparation
Omni-Encryption fleet packageTeam / Fleetin preparation

On 2026-12-05 none of these downloads is open. Sign-in on omniaxiom.io is not open yet, and the site has no download service yet. When an item opens, it appears as a link in the Downloads section of the home dashboard for accounts whose plan includes it. Plans are on the Subscription page, and the Enterprise plan is by quote.

Install

The package declares a standard Python build (hatchling) and two console commands, omni-encryption and aios-omni-encryption. The package itself was not installed in the 2026-12-05 runs, and the console commands were not exercised. Every command in this manual therefore uses the form below, with the source tree on the Python path. Once installed, omni-encryption followed by the command name is the declared equivalent.

PYTHONPATH=<source tree>/src python3.12 -m aios_omni_encryption --help

Where keys and settings live

  • Second-layer key file. The key command creates it in your user configuration folder and prints the path; its output option chooses another path. It is JSON holding the master key and a salt as plaintext hex, a key size and a note, and it is set to mode 0600, readable by its owner only, after it is written.
  • Environment settings. The second layer is switched on by one environment variable. Two more supply the key and the salt in place of the key file, and the salt is required with the key. The key must be hex of at least 32 bytes and the salt hex of at least 16 bytes. A further variable supplies the key for file sealing, and when it is not set the second-layer key is used. The tool's own messages print the exact variable names.
  • Identity keys. Identity secret keys exist in memory only. The library does not save them.
  • Identity pin store. A JSON file at a path your code chooses. It is not tamper-evident, so protect it like the keys.
  • Report files. The benchmark writes artifacts/benchmark_report.md and artifacts/benchmark_report.json into the current directory.

List the commands

Run the help command. It prints the usage line and the list of commands.

python -m aios_omni_encryption --help

The tool has 24 commands, and one of them has two aliases. Every command also answers --help, for example redteam --help. The usage line reads omni-encryption, the name of the declared console command. This manual covers the commands needed for evaluation. The remaining commands cover other parts of the package and are not explained here.

Encrypt, decrypt and rekey once

The demo command encrypts, decrypts and rekeys once, all in one process.

python -m aios_omni_encryption demo
{
  "protocol_version": 3,
  "effective_symmetric_bits": 256,
  "roundtrip_1_ok": true,
  "roundtrip_2_ok": true,
  "roundtrip_3_ok": true,
  "ct3_epoch": 1,
  ...
}

protocol_version is the message protocol version, 3. effective_symmetric_bits is 256, the strength of AES-256. The three roundtrip fields are true when each message decrypted to what was sent. ct3_epoch is 1, which shows that the third message was sent after the rekey. The full report has more fields, including an internal label, and this manual does not explain them.

Run the hybrid handshake

The handshake-demo command creates two identities, runs the hybrid key exchange between them in one process, and sends one message each way.

python -m aios_omni_encryption handshake-demo
{
  "protocol_version": 3,
  "handshake": "hybrid PQC mutual (X25519 + ML-KEM-1024 + ML-DSA-87)",
  "roundtrip_ok": true,
  "kem_ct_bytes": 1600,
  "sender_auth_bytes": 7219,
  ...
}

roundtrip_ok is true when both messages arrived intact. kem_ct_bytes is 1600, the key-exchange data, and sender_auth_bytes is 7219, the sender authentication, so the handshake puts 8,819 bytes on the wire. The report also prints short fingerprints of the two identities and a session identifier. They differ on every run.

Run the lab check

The redteam command runs 26 tamper, replay and forgery probes and prints one row for each.

python -m aios_omni_encryption redteam
HOLD   bit_flip_body     rejected: ValueError: authentication failed
...
HOLD   forged_rekey      rejected: authentication failed
HOLD   forged_rekey_ack  rejected: rekey acknowledgement authentication failed
HOLD   length_leak_gcm   pairs=[(0, 130), (1, 131), (16, 146), (100, 230)]; length_revealed=True (expected for AES-GCM)

26/26 defenses held

A row that starts with HOLD means the defence held. The command exits 0 when every row holds and 2 otherwise. All 26 held on 2026-12-05. One row, the length record, is informational: it shows that ciphertext length reveals plaintext length. The probes run in one process against pre-shared-key AES-256-GCM sessions. They do not exercise the cascade or the handshake, and the project wrote them.

Classify a destination

The classify command says which protection a destination gets.

python -m aios_omni_encryption classify https://api.openai.com
{
  "traffic_class": "public_third_party",
  "protection": "standard_tls_only",
  "requires_standard_tls": true,
  "host": "api.openai.com",
  ...
}

A recognised public host, any dotted DNS name and any global IP address count as public: the wrapper refuses them or passes data through unchanged, and standard TLS applies. Private-range addresses and single-label names, such as an internal host name, count as fleet destinations. A public destination given as http is refused with an error that says it must use https. The classification is a heuristic. An address in the IPv6 documentation range is wrongly classed as fleet, which the project records as a known gap. The report's other fields say whether the second layer and a peer session may be used for the destination, and give a reason.

Create a key and switch on the second layer

  1. Create the key with python -m aios_omni_encryption gen-key. It writes the key file described above, prints where it wrote it, and prints the one line that switches the second layer on in your shell.
  2. Switch the layer on for the process by setting the second-layer environment variable to 1, as that line shows. The layer is off unless it is switched on and a key is available.
  3. Check readiness with python -m aios_omni_encryption network-verify.
python -m aios_omni_encryption network-verify
{
  ...
  "key_path_exists": true,
  "key_mode": "0o600",
  "smoke_ok": true,
  "ready": true
}

ready and smoke_ok are true when the layer is switched on, a key is found, and a test wrap and unwrap worked. Without a key the report shows smoke_ok false and ready false, includes a config_error message, and the command exits 2. The report also lists the layer's surfaces under fleet. Their labels are internal, and this manual does not explain them.

What the layer does once it is on:

  • The adapters wrap HTTP JSON bodies, agent RPC payloads, chat payloads, audit records and key-value values in an AES-256-GCM envelope.
  • Control messages carry an expiry, 300 seconds by default, and a sender counter.
  • When the layer is off, the adapters pass data through unchanged. Once it is on, the control adapters refuse plaintext input.

Before you rely on it:

  • The built-in replay store is designed for one process. Several receivers need a shared atomic store that you supply.
  • Audit and key-value envelopes can be read more than once by design, so they must not carry commands.
  • By design, rotating the key invalidates existing envelopes.
  • Public third-party traffic must stay on standard TLS.

Seal and open a file

The tool has one file-sealing command. It seals a file of up to 16 MiB into an AES-256-GCM JSON envelope and opens it again. It needs a key: the file-sealing key if one is set, otherwise the second-layer key from the previous section. You give it a label when you seal, and opening fails if the label is altered.

Run python -m aios_omni_encryption --help to list the commands, and read the help of the file-sealing command that the list shows for its options.

In the 2026-12-05 run a 38-byte file was sealed and opened byte for byte. Three failure cases each exited 2 and wrote no output file: an altered ciphertext, an altered label and a different key.

Run the benchmark

The bench command times identity generation, the hybrid handshake, peer-pair setup, and per-message encrypt and decrypt against raw AES-256-GCM and raw ChaCha20-Poly1305. It has no options and writes its reports into the current directory.

python -m aios_omni_encryption bench

Each result row gives the operation, the number of bytes, the rate, the median and the 95th percentile, and a summary states the ratios. On 2026-12-05, on a loaded host, the hybrid handshake median was 10.4 ms, and 1 KiB round trips ran at 8,669 and 8,851 per second against 214,071 for raw AES-256-GCM. A quiet machine will be faster. Compare your own ratios with the technical paper.

Read the package's own limits

Three commands print the package's own statements about its scope. crypto-maturity says how mature the hybrid post-quantum handshake is: it uses NIST standards that do not have decades of public analysis. pin-surface describes the identity pin lifecycle and what it leaves to the operator. interop explains why public APIs need standard TLS.

python -m aios_omni_encryption crypto-maturity
python -m aios_omni_encryption pin-surface
python -m aios_omni_encryption interop

Run them before you decide, and read them next to the limits in the spec sheet.

Use it from Python

There is no command that encrypts an arbitrary file with the cascade, so use the Python interface. Both peers run in one process, and the caller holds both peers' private keys. This example ran on 2026-12-05.

from aios_omni_encryption import OmniCipher, OmniKey, PeerIdentity, PeerPair

# 1) Two ends that already share a key, in one process.
key = OmniKey.generate()
sender = OmniCipher(key=key, session_id=b"0123456789abcdef")
receiver = OmniCipher(key=key, session_id=b"0123456789abcdef")
frame = sender.encrypt(b"hello", associated=b"demo")
print("frame bytes:", len(frame.blob), "| mode:", sender.aead_mode)
print("decrypted:", receiver.decrypt(frame, associated=b"demo"))

# 2) Two identities, the hybrid key exchange, then an exchange, in one process.
alice, bob = PeerIdentity.generate(), PeerIdentity.generate()
pair, handshake = PeerPair.create_authenticated(alice, bob, aead_mode="cascade")
print("a->b:", pair.alice_to_bob(b"hello bob", associated=b"demo"))
print("b->a:", pair.bob_to_alice(b"hello alice", associated=b"demo"))
frame bytes: 151 | mode: cascade
decrypted: b'hello'
a->b: b'hello bob'
b->a: b'hello alice'

The 5-byte message became a 151-byte frame under the cascade, the 146 bytes of overhead the spec sheet lists. The low-level cipher uses the cascade by default, while PeerPair uses AES-256-GCM alone unless you pass aead_mode="cascade", as the example does.

Activate a license (0.8.1, in preparation)

A paid edition comes with a product key, which looks like OMXE-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, and a license certificate, a file whose name ends in .omxlic. Activation checks both on your computer and contacts no server.

omni-encryption license activate --key <key> --file <license.omxlic>
omni-encryption license status

The certificate is signed with Ed25519 and with ML-DSA-87, and both signatures must verify. The product key itself is never saved. A failed activation exits 2 and prints reason: followed by a code. The License activation section of the manual on this site lists every code and what to do.

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.

Common problems

What you seeWhat it means and what to do
error: the following arguments are required: cmd (exit 2)No command was given. Run --help.
argument cmd: invalid choice: 'encrypt' (exit 2)There is no encrypt or decrypt command. Use the Python interface, or the file-sealing command for files.
ModuleNotFoundError: No module named 'cryptography'Install the cryptography package, version 49.x, into the interpreter you run.
network-verify prints ready false and exits 2, with a config_error saying the second layer is enabled but no key is configuredThe layer is switched on but there is no key. Run the key command, or set both the key variable and the salt variable.
config_error says the salt is required with the keyYou set the key but not the salt. Set both.
An error from the file-sealing command (exit 2)The key is missing or wrong, the label is not allowed, or the envelope or its label was altered. The message says which. When the key is wrong or the envelope or its label was altered, no output file is written.
InteropError: wrap refused for a public https addressBy design. Do not wrap public API traffic; use TLS.
InteropError: public TLS destination must use https, got httpGive the public destination as https.
A ValueError from the Python interface about a sequence mismatchA message was dropped, reordered or produced without being delivered to the receiving end. Deliver messages in order.
RekeyRequired from a bare cipherThe per-key message limit was reached. Perform a rekey. A PeerPair does this automatically.
pytest: No module named for a sibling package (developers)The suite expects sibling packages next to the checkout. Without them one or two test modules cannot be collected and a few tests skip.

What this manual does not cover

  • A network transport. None exists in the package.
  • Production use. The package has no independent audit and no FIPS 140-3 validation.
  • Key protection beyond file permissions.

The spec sheet lists the limits in full, the white paper explains the approach, and the technical paper reports the measurements. Support terms are part of the Enterprise plan, by quote. Document history: first published 2026-12-05; the section on license activation was added the same day; every output was produced on 2026-12-05.