# Inside Signed .rx5 Trading Packages: Header, CBOR Manifest & Ed25519 Security

- Canonical: https://rxm.orrnn.com/articles/understanding-signed-rx5-packages-ed25519
- Author: QuantForge Labs | Updated: 2026-12-02T01:51:53.299143-08:00

> An .rx5 package is a 4 MiB-capped binary container starting with magic bytes RX5\0, 8-byte aligned Castagnoli CRC32C sections, canonical CBOR manifests, optional AES-256-GCM IP protection, and dual Ed25519 signatures from both the author and RX5 Marketplace.

## Zero-Trust Verification for Trading Software

Traders downloading Expert Advisors face severe supply-chain risks when running opaque native binaries. RTX5 solves this with the `.rx5` container:

1. **64-Byte Little-Endian Header**: Encodes ABI version, flags (`FlagProtected`, `FlagGPUCompatible`, `FlagHasMarketplaceCert`), and source SHA-256.
2. **Section Directory**: Every section (`Manifest`, `ConstPool`, `CompiledPayload`, `VisualSchema`, `LicenseLock`, `GPUKernel`) is protected by Castagnoli CRC32C checksums.
3. **Dual Ed25519 Signatures**: The trailer binds `ContentSHA256` to the developer's Ed25519 key (`RX5-PKG-V1|`) and an optional RXM Marketplace Certificate (`RX5-MKT-CERT-V1|`).
