FIRMWARE SIGNING / CRYPTO AGILITY

MOBI-CODE-SIGNMCS-Firmware

Swap the crypto,
even after you ship.

Firmware signing that connects your build pipeline to device boot, while keeping private keys out of your development environment. Designed for post-quantum migration across the long service lives of embedded, medical and industrial devices.

01 / ARCHITECTURE

From build output to trusted boot.

Private keys remain in a cloud HSM. Your build requests a signature; each device verifies the result against its own trust anchor.

BUILD / 01

Build / CI

mcs-sign hashes the build output. Only the hash is sent to the cloud; the firmware payload stays in your environment.

SIGN / 02

MCS Cloud

Production signing requires approval in MCS Console. The HSM holds the keys; signatures, approvals and key operations enter a transparency log.

VERIFY / 03

Device bootloader

Distribute the signed .mcsi produced by mcs-sign. MCS Verify Lite checks signatures and the security counter before boot.

Conceptual flow redrawn from the leaflet and manual sections 1 and 4. The .mcsi format contains a payload, header and COSE signature block.

KEY ISOLATION

Keep private keys out of CI

Planned key storage uses a FIPS 140-3 Level 3 HSM. Separate Key Administrators from Signing Approvers and use short-lived CI tokens.

HYBRID PQC

Require both classic and PQC

MCS-H1, recommended for new products, combines ECDSA P-256 and ML-DSA-44. Verification succeeds only when both signatures are valid.

TRACEABILITY

Trace signatures and keys

An append-only log records hashes, versions, profiles, approvers and timestamps. Check its integrity with mcs-sign audit verify.

02 / SPECIFICATIONS

Choose a profile for your device.

Signature sizes are approximate. ROM and RAM figures are verifier targets, not final launch specifications.

Signing profile comparison / Manual section 2
ProfileAlgorithmSignatureROM (target)RAM (target)Typical use
MCS-P1ECDSA P-25664 B12 KB2 KBExisting products / small MCUs
MCS-Q1ML-DSA-65~3.3 KB30 KB12 KBProducts after PQC migration
MCS-S1SLH-DSA~8 KB16 KB4 KBTrust anchor updates

Device integration

CPU
Arm Cortex-M0+ / M3 / M4 / M7 / M33, Cortex-R/A, RISC-V (RV32IMC+)
Verification SDK
C99. No dynamic allocation or recursion. Targeting MISRA C:2012 compliance. MCS Verify Lite is planned under Apache 2.0.
Bootloader integration
MCUboot, U-Boot (FIT) and an API for custom bootloaders.

Signing environment

OS
Linux (x86_64 / arm64), Windows 10+, macOS 13+
CI
GitHub Actions, GitLab CI, Jenkins, Azure Pipelines
Authentication / console
SAML / OIDC and short-lived CI tokens. MCS Console targets current Chrome, Edge, Firefox and Safari.

03 / INTEGRATION

A signing request in CI. A verifier at boot.

The examples below use the concept-draft interface. For production groups, a Signing Approver must approve the request before the signature block is issued.

Request a signature / CLI

mcs-sign sign \
  --group RX-PRODUCT-EU \
  --profile MCS-H1 \
  --version 2.4.0 \
  --security-counter 7 \
  --sbom build/sbom.spdx.json \
  build/firmware.bin -o firmware.mcsi

With --sbom, the SBOM is signed with the same key and linked to the image.

Verify on device / C99

mcs_result_t r = mcs_verify_image(
  &anchor, img_addr, img_len, &ctx);

if (r != MCS_OK) {
  mcs_boot_fallback(r);
}

Verification can stream from external flash without loading the entire image into RAM.

  1. 01Header checkCheck the .mcsi format.
  2. 02Hash checkCheck payload integrity.
  3. 03Signature checkMCS-H1 requires both signatures.
  4. 04Counter checkReject values below the stored counter.

Typical onboarding is planned at 4-6 weeks: organization, roles and device groups; key ceremony; anchor provisioning; SDK / CI integration; tamper and rollback tests; production enablement.

04 / OPERATIONS & MIGRATION

Give shipped devices a path to new cryptography.

Example profile migration: P1 → H1 → Q1. Add the new profile to the trust anchor first; use the new signing method on subsequent updates.

01 / PREPARE

Prepare the new profile

Two Key Administrators and a Signing Approver approve the migration. Review device verifier and memory requirements.

02 / UPDATE ANCHOR

Update the trust anchor

Verify an update signed with both old and new anchors, then rewrite protected, rewritable storage.

03 / SWITCH

Switch signing profiles

Use the new profile for later firmware updates. Devices with an old anchor must receive the anchor update first.

Migration requires rewritable, protected trust anchor storage. Algorithm retirement is planned to carry at least 24 months notice.
OperationBehavior and conditionsApproval
Signing key rotationEvery 2 years by default; the new signing key is certified by the root key.2 Key Administrators
Trust anchor updateProfile addition or root-key replacement; validate both old and new signatures.2 Key Administrators + our witness
Signature revocationReject revoked versions after an update carries the revocation list. Offline devices rely on the counter.Signing Approver
Emergency key stopImmediately stop cloud signing and record the event in the transparency log.1 Key Administrator

Integration responsibilities: customers approve signatures, integrate and test the SDK, and design device behavior on verification failure. The service does not guarantee the correctness or safety of the firmware itself.

05 / DOWNLOADS

Documents for engineering review.

Use the leaflet for a product overview and the manual overview for integration and operational essentials. All documents describe the pre-launch concept.

MANUAL OVERVIEW / PDF · 2 PAGES · 0.01 MB

User manual overview

A two-page summary of components, ROM / RAM targets, onboarding, verification, key and algorithm migration, and design responsibilities.

Download PDF ↓Open in browser (new tab) ↗

For detailed procedures, error codes and responsibilities, see the full User Manual v0.1 (concept draft) (PDF, 10 pages, 0.68 MB).

Sources: product leaflet and MCS-FW-UM-001 v0.1, sections 1-8. Diagrams and tables have been redrawn from these documents.

06 / PLANNED SERVICE

Three plans for long-term operation.

Planned availability: April 2027. Prices below are planned, exclude tax, and are denominated in Japanese yen. Features are as proposed in the leaflet.

Starter

From ¥30,000 / mo

  • 3 signing keys
  • Standard profiles
  • Email support

Professional

From ¥150,000 / mo

  • Hybrid PQC signing
  • Key rotation
  • CRA audit reports
  • Planned 99.9% SLA

Regulated

Custom quote

  • Dedicated tenant / customer HSM
  • Safety Pack support
  • 24/7 emergency key stop

Safety Pack is planned to provide design documents, test records and maintenance warranty for a specific SDK release, supporting IEC 62304 Class C / IEC 61508 work. Documentation for EU CRA and medical device submissions supports your assessment; it does not denote product certification.

Early evaluation partners welcome.

For medical and industrial device makers: discuss your target CPU, bootloader and update architecture with us.

info@mobicodesign.com ↗

MCS FAMILY / COMBINE

Connected through the Family platform.

Firmware is the device-facing entry point to the Family. Combine it with Software for service apps, Link for operational messages and License for feature rights, sharing key management, crypto profiles and audit records.

Explore MOBI-CODE-SIGN Family ↗