White paper
Omni-Encryption white paper
A second encryption layer above TLS for traffic between your own services, agents and machines: the problem, the approach, the behaviour the tests cover, what it leaves to TLS and to the host, its limits, and how to evaluate it.
Summary
Omni-Encryption is a Python package and command-line tool, version 0.8.0, status Evaluation. It adds an authenticated encryption layer above TLS for traffic between your own services, agents and machines. This paper describes the problem it addresses, the approach at capability level, the behaviour its tests cover, what it leaves to TLS and to the host, its limits, and how to evaluate it.
Three facts to carry through the rest of the paper. It runs today in a lab setting, in one process, with no network transport. It has no independent audit and no FIPS 140-3 validation. On the machine measured on 2026-12-05 it is about 24 times slower than raw AES-256-GCM at 1 KiB in the same process. These limits are part of the offer, and the section Limits and open work lists them in full.
The problem
The design starts from four observations.
- Internal services, agent fleets and control channels often depend on a private network or on TLS alone. A layer applied by the application itself limits what a network-level compromise reveals.
- Traffic recorded today can be attacked later, an attack often called harvest now, decrypt later. The project's attack catalogue gives this as the reason to add a post-quantum component, ML-KEM-1024, to the key exchange now.
- Replay, reordering and unauthenticated rekeying of control messages are common failure points. The package turns each into a defined rejection and tests it.
- Third-party APIs need ordinary TLS. For recognised public hosts the package refuses to wrap the traffic or passes it through unchanged. The classification is a heuristic.
Who it is for
- Engineers and operators of internal service or agent fleets who want an extra encryption layer above TLS or a private network, and who can run Python 3.11 or 3.12.
- Engineers evaluating hybrid post-quantum key establishment and authenticated rekeying in Python.
It is not designed for public web APIs, for bulk multi-gigabyte transfers, for deployments that need an audited or FIPS 140-3 validated module, or for anyone who needs a network transport out of the box. It is designed for messages, not bulk streams: the project advises raw AES-256-GCM or TLS for multi-gigabyte transfers.
Approach
Omni-Encryption sits between the application and the transport. It does not replace the transport.
your application
| message
v
Omni-Encryption: encrypt, authenticate, check session, order and expiry
| sealed message
v
TLS or a private network (unchanged)
|
v
the networkIts building blocks, at capability level:
- Messages. AES-256-GCM, ChaCha20-Poly1305, or a cascade of the two under separate keys. Each message is bound to its session, its direction and its sequence number, and nonces are counters.
- Sessions. A hybrid key exchange, X25519 combined with ML-KEM-1024, with mutual ML-DSA-87 authentication, establishes the session key. A missing or altered key-exchange component is rejected.
- Rekeying. An authenticated three-step exchange. A peer session rekeys automatically when its per-key message limit is reached, 64 messages by default.
- Identity pins. A peer's identity key can be pinned explicitly, accepted on first use with an audit event, or tied to a validated TLS certificate.
- Second-layer envelopes. HTTP JSON bodies, agent RPC payloads, chat payloads, audit records and key-value values are wrapped in an envelope when the layer is switched on and a key is configured. When it is off, the adapters pass data through unchanged.
- TLS boundary. Recognised public hosts stay on standard TLS. The package also builds a TLS 1.3 client context that uses system CA roots and checks host names.
- File sealing. A file of up to 16 MiB is sealed into an AES-256-GCM JSON envelope and opened again.
- Lab tools. A built-in lab check with 26 probe rows, a benchmark, and status commands that print the package's own limits.
The key-exchange and signature primitives come from the Python cryptography package, version 49. The project's design rule is that no primitive is home-made and no added layer raises a primitive above its standard limit.
Behaviour the tests cover
| Topic | What the tests check |
|---|---|
| Message protection | Each message is bound to its session, direction and sequence number, with counter nonces. Replayed, reordered, truncated, altered and wrong-key messages are rejected, and a rejected message leaves the keys, epoch and sequence unchanged. The protection group has 27 tests. |
| Rekeying | The authenticated three-step rekey works. Forged rekey requests and forged acknowledgements are rejected without changing the receiver's state, and a lost acknowledgement can be retried. A peer session rekeys automatically at its limit, and a bare cipher refuses to send past the limit. |
| Hybrid handshake | A mutual handshake derives a session. A man in the middle is caught in the mutual case and in the one-way case. A different suite identifier, an altered hybrid ciphertext and a missing component are rejected, and both key-exchange components change the derived key. The handshake group has 11 tests. |
| Identity pins | Explicit pins, first-use trust with an audit event and pins tied to a validated TLS certificate work, and a changed key from a known peer is rejected. |
| Second-layer envelopes | The adapters wrap and unwrap, pass data through unchanged when the layer is off, and refuse plaintext once it is on. Expired and future-dated envelopes are rejected. The envelope group has 25 tests. |
| TLS boundary | A public host cannot be reclassified as a fleet destination, public hosts are passed through or refused, and the standard TLS client context verifies certificates and host names. |
| File sealing | A sealed file opens again byte for byte. A wrong key, an altered ciphertext or an altered label is rejected, and no output file is written. |
| Lab check | 26 probe rows held on 2026-12-05. |
In total the suite has 412 test functions in 56 files, and 501 tests were collected at the revision read. On 2026-12-05, 485 of those pass, 12 are expected failures that record known gaps, 3 are skipped, 1 fails (a source-manifest consistency check, not a cryptographic test) and 1 module cannot be collected because it needs a sibling package.
What the tests do not cover:
- The cascade over a handshake session works when selected, but no test covers that combination.
- The project's catalogue describes forward-secret rekeying and key-committing properties. No test checks either, and the 2026-12-05 measurements did not assess them.
- Nothing was run over a network, under concurrency, or with side-channel or constant-time measurement.
What it leaves to TLS and to the host
| Concern | Left to | Why |
|---|---|---|
| Traffic to third-party and public APIs | TLS | The package refuses to wrap it or passes it through unchanged, and provides a TLS 1.3 client context with certificate and host-name checks. |
| Access control and host security | You | The package does not replace TLS, access control or host security. |
| Key storage | You | The second-layer key is plaintext hex in a file readable by its owner only, or in environment variables. There is no operating-system keystore, hardware module or passphrase protection. |
| Replay protection across processes | You | The built-in replay store is designed for one process. Several receivers need a shared atomic store that the deployer supplies. |
| Network transport | You | None is provided: the two peers run in one process. |
| Pin management | You | Pins are the operator's burden by design. Trust on first use is vulnerable if the first channel is hostile. |
| Message length, IP address and timing | Not addressed | Ciphertext length reveals plaintext length. Hiding the IP address and timing is outside what it is designed to do. |
Strength statements
- The project states the strength this way: confidentiality is capped by AES-256, at 256 bits against classical attack and about 128 bits against ideal quantum search.
- The cascade requires both layers to verify before a message opens. The project describes it as defence in depth that does not raise AES-256 above its own limit.
- ML-KEM-1024 and ML-DSA-87 are NIST standards with less public analysis history than AES or X25519. The combined handshake is a proprietary profile, not a standardised TLS profile, and the project says it still needs independent review.
- As the project states the design goal, the session key holds while either key-exchange component holds. The project says that goal still needs independent review.
- The ML-KEM and ML-DSA implementations come from the cryptography package and were not examined in the 2026-12-05 measurements.
Limits and open work
| Topic | Limit |
|---|---|
| Network transport | None. The hybrid handshake and the session run in one process and the caller holds both peers' private keys. |
| Peer authentication | ML-DSA-87 alone. A failure of that signature scheme could let an attacker pass as a peer. Strict expected-failure tests and the package's own maturity command record this. |
| Audit and validation | No independent audit and no FIPS 140-3 validation are on record. |
| Key storage | Plaintext hex in a file readable by its owner only, or environment variables. No keystore, hardware module or passphrase. |
| Identity pin store | Plain JSON that is not tamper-evident. First-use pins never expire. Rotation compares a token that the same caller supplies and is not independent dual control. Installing with the overwrite option bypasses rotation. Eight strict expected-failure tests record these gaps. |
| Replay protection | Designed for one process. |
| Cascade | Applies only where selected. Sessions, envelopes and file sealing use AES-256-GCM alone unless configured otherwise. |
| Speed | Pure Python. About 24 times slower than raw AES-256-GCM at 1 KiB in the same process, measured on 2026-12-05 on a loaded host. |
| Licence | To be confirmed at the patent filing, as the Core plan listing says. The package metadata says Proprietary. |
The 12 strict expected failures at the revision read are the project's own record of known gaps: pin file integrity and permissions, pin rotation authority, hybrid authentication, an IPv6 documentation-range address classed as fleet, and a plaintext-URL flag. The technical paper lists the gaps by topic.
How to evaluate
- Read the spec sheet for the facts at a glance and for the limits.
- Follow the evaluation manual to run the demonstration commands, the lab check and the benchmark on your own hardware.
- Compare your numbers with the technical paper's, using the conditions it states: one process, a loaded host, pure Python.
- Decide whether the limits in Limits and open work rule it out for your use. If you need an audited or FIPS 140-3 validated module, it does not meet that need today.
- Arrange an independent review of the combined handshake before you rely on it with production data. The project says it still needs one.
Plans and availability
Documents are free and public. Software opens from the home dashboard after you sign in with a plan that includes it. Plan names and statuses below are those on the Subscription page.
| Plan | For | What the plan includes | What exists today | Status |
|---|---|---|---|---|
| Core | Anyone | The core library. The licence is to be confirmed at the patent filing. | The package described in this paper. Its download is not open yet. | after patent filing |
| Vault | Individuals and small offices | A file and folder encryption command-line tool with a key store and post-quantum sealing to recipients. | Single-file sealing in the evaluation tool. Its commands include no key store and no sealing to recipients. | in preparation |
| Developer licence | Developers | A licence for commercial use of the core library, per developer. | Not available yet: the licence file is in preparation. | in preparation |
| Team / Fleet | AI agent fleets, up to 25 nodes | Second-layer envelopes, the hybrid handshake and session rekeying for agent fleets. | The evaluation package covers all three in one process, with no network transport. | in preparation |
| Enterprise | Organisations | Support terms and custom builds, by quote. A FIPS edition is not offered; it would need its own design and a validation lab. | Quotes on request. | quote |
Prices are on the Subscription page and may change before launch. The paid options there read Opens when sales are enabled until sales open. Sign-in on omniaxiom.io is not open yet.
What is planned
- The Core library is listed with the status after patent filing, and no download is open while that status stands.
- The Vault tool is planned as a file and folder encryption tool with a key store and sealing to recipients. The evaluation tool has neither.
- The Developer licence and Team / Fleet packages are in preparation.
- A network transport is not offered yet, and a FIPS edition is not offered.
Document history: first published 2026-12-05. Test results and measurements are dated 2026-12-05.