Overview
OTA security reduces software delivery risk by separating release authority, request handling, metadata trust, artifact integrity, device eligibility, and device-side verification. The diagram describes security responsibilities rather than implementation topology.Security Objectives
OTA security is designed to support:- Release authenticity.
- Release integrity.
- Device eligibility.
- Request authentication.
- Replay resistance.
- Rollout governance.
- Software supply chain risk reduction.
- Privacy-preserving device correlation.
- Independent verification before installation.
Defense-In-Depth Model
OTA security relies on multiple independent controls. No single control should be treated as sufficient.Layer 1: Transport Authentication
Transport authentication protects communication channels and reduces network tampering risk. This layer supports:- Authenticated transport.
- Mutual client authentication for private OTA workflows.
- Protected communication channels.
- Request authentication.
Layer 2: Request Verification
Request verification ensures that OTA requests are validated before release information is returned. This layer supports:- Request validation.
- Freshness validation.
- Replay resistance.
- Request integrity.
- Per-request cryptographic signing.
Layer 3: Manifest Trust
Manifest trust protects release metadata. This layer supports:- Signed release metadata.
- Release authenticity.
- Release authorization.
Layer 4: Artifact Verification
Artifact verification protects the update payload. This layer supports:- Hash verification.
- Integrity validation.
- Corruption detection.
Layer 5: Device Eligibility
Device eligibility determines whether a device should receive a given release. This layer supports:- Preauthorized enrollment.
- Enrollment status.
- Device Trust.
- Channel eligibility.
- Rollout policy.
Layer 6: Remote Attestation
Remote Attestation is an additional eligibility signal. This layer supports:- Device integrity validation.
- Enrollment verification.
- Protected metadata access decisions.
- Private artifact access decisions.
- Sensitive rollout channel decisions.
Layer 7: Production Signing
Production signing establishes trusted release origin. This layer supports:- Release authorization.
- Hardware-Backed Signing.
- Trusted release origin.
Signing Authorities
Enigm OS separates signing authorities by purpose.Current Authority: OTA Manifest Signing Authority
The OTA Manifest Signing Authority authorizes OTA manifests and release metadata. This authority is responsible for:- Manifest authorization.
- Metadata authorization.
- Release metadata authenticity.
- Approval evidence for OTA release metadata.
Production Release-Signing Authority
The Production Release-Signing Authority is the authority for production image and release artifact signing. This authority is responsible for:- Production image signing.
- OTA payload signing.
- Signing-critical release artifacts.
- Production release authorization.
Current Production OTA Manifest Signing Model
The current Enigm OS OTA model uses PIV-backed hardware security key offline manifest signing. This model provides:- Hardware-backed offline signing.
- Physical operator participation.
- Non-exportable key material.
- Manifest and metadata authorization.
- Separation from release-signing workflows.
Protected Signing Material
The manifest signing key must not be stored in Git repositories, CI/CD variables, build scripts, developer workstations, online object storage, or release artifacts. The signing authority remains hardware-backed and operator-mediated. Systems that prepare manifests can request signing, but they must not gain access to private key material.Production HSM Release-Signing Architecture
The Enigm OS production release-signing architecture is designed around a dedicated physical HSM. The production architecture supports:- Non-exportable production keys.
- Release authorization.
- Production image signing.
- OTA payload signing.
- Signing-critical release artifacts.
- Dual control.
- Multi-party approval.
- Audit logs.
- Key ceremonies.
- Secure backup procedures.
- Release governance.
Production Signing Trust Boundary
Production signing has a clear trust boundary.Inside The Trust Boundary
- Physical HSM.
- Non-exportable private keys.
- Approved signing policies.
- Authenticated operators.
- Audit records.
- Key ceremonies.
Outside The Trust Boundary
- Build systems.
- CI runners.
- Artifact repositories.
- OTA services.
- Developer workstations.
- Source repositories.
- Release scripts.
Signing Flow
The conceptual signing flow is:- Build artifacts are produced.
- Release pipeline prepares signing payloads.
- Operator approval occurs.
- Signing authority validates policy.
- Signing authority signs.
- Verification occurs.
- Release gates execute.
- Release is published.
Remote Attestation
Remote Attestation supports eligibility decisions based on device-produced security evidence. Within the Enigm OS OTA model, Remote Attestation helps determine whether a device is eligible to:- Enroll.
- Register.
- Access protected update metadata.
- Receive private update artifacts.
- Access sensitive rollout channels.
Attestation Evidence
Attestation evidence can include:- Hardware-backed device identity signals.
- Device integrity signals.
- Verified software state.
- Device lock state.
- Build identity.
- Patch level.
- Device model.
- Device eligibility.
- Freshness signals.
Verification Requirements
Backend verification requirements include:- Attestation authenticity.
- Certificate chain validity.
- Root of trust.
- Device integrity.
- Enrollment binding.
- Privacy-Preserving Device Handle binding.
- Freshness.
- Channel eligibility.
- Device eligibility.
Replay Protection
Attestation evidence is freshness-sensitive. The server can require:- Nonce.
- Challenge-response.
- Transaction binding.
Relay Protection
A valid attestation proves that eligible hardware produced the evidence. It does not automatically prove that the current requester is the same enrolled device. Additional bindings can include:- Enrollment binding.
- Device handle binding.
- Transport identity binding.
- Request binding.
Privacy Model
OTA security uses Privacy-Preserving Device Handles for device correlation and minimizes device telemetry required for eligibility. OTA security is not intended to collect:- Message content.
- Media content.
- Contact data.
- User behavior telemetry.
- User conversations.
- Private key material.
- IMEI, IMSI, ICCID, Android ID, serial numbers, email addresses, phone numbers, or location data.
- IP addresses or User-Agent strings as device identity records.
Public OTA Surface
The public OTA web surface is intentionally minimal. It can describe stable release history and verification information, but it does not expose protected metadata routes, private artifact locations, staged rollout controls, draft releases, paused releases, or manual download paths. Production packages are delivered only through Enigm OS Updater after eligibility, release metadata verification, artifact verification, and rollback checks succeed.Threat Model
OTA signing and security controls are intended to mitigate:- Private key theft.
- CI compromise.
- Developer workstation compromise.
- Repository compromise.
- Unauthorized signing.
- Test-key misuse.
- Artifact replacement.
- Modified release metadata.
- Replay of stale eligibility evidence.
- Malicious source code.
- Authorized operator abuse.
- Misconfigured policy.
- Verification defects.
- Signing authority compromise.
- Vulnerable software released through authorized processes.
- Future unknown vulnerabilities.
Relationship With Trust Security Center
Trust Security Center evaluates local integrity. Remote Attestation evaluates OTA Eligibility. These systems serve different purposes:- Trust Security Center provides local device posture visibility.
- Remote Attestation provides server-evaluated eligibility evidence for selected workflows.