Code Signing
Cryptographic signing of executable software and firmware so that only authentic, unmodified code from a trusted publisher will run.
Definition
Code signing is the practice of digitally signing executable files, firmware images, software packages, and OTA updates with a private key whose corresponding public key (in a certificate from a trusted certificate authority) is embedded in or trusted by the device. At install or boot, the device verifies the signature; if it doesn't validate against an expected publisher and the artifact hasn't been modified, the code is rejected. Code signing is the foundational control behind secure boot, OTA update verification, and anti-tampering on connected medical devices.What this means in practice
FDA premarket cybersecurity submissions are expected to describe how the device verifies the authenticity and integrity of firmware and software updates. Code signing, paired with a hardware root of trust to protect verification keys, is the standard answer. Key management is where most code-signing programs fail: signing keys stored in source control, in unprotected CI build agents, or shared across product lines have caused some of the most severe medical device cybersecurity advisories.- •Storing signing keys in CI/CD environment variables or unencrypted on build servers, keys belong in an HSM or hardware-backed key store.
- •Using the same signing key across product lines and over many years, key rotation and per-product or per-release keys limit blast radius.
- •Verifying signatures only at install time, not at boot, pair code signing with secure boot to defend against post-install tampering.
Related terms
Grouped by themeEditor's picks
· Hand-selected related conceptsAAMI/ANSI standard establishing requirements for medical-device cybersecurity activities throughout the lifecycle.
A tamper-resistant hardware element (TPM, secure element, or fused boot ROM) that provides the foundational, unforgeable trust anchor for secure boot, attestation, and key storage.
International standard defining secure-product-lifecycle activities for health software, including medical devices.
Remote, network-delivered software or firmware updates to a fielded medical device.
More in Cybersecurity
· Same categoryThe designed-in ability to deploy security updates to a fielded medical device in a timely, controlled, and verifiable manner.
The bundle of cybersecurity artifacts a sponsor includes in a 510(k), De Novo, PMA, or HDE submission for a cyber device.
A chain-of-trust mechanism that ensures only cryptographically signed firmware and software can run on a device.
AAMI Technical Information Report providing MedTech-specific guidance on cybersecurity risk management.
Primary references
3 sources- 1
FDA Cybersecurity in Medical Devices guidance (2023)VerifiedFDAfda.gov
- 2
NIST SP 800-57: Key ManagementVerifiedNISTcsrc.nist.gov
- 3
MDCG Cybersecurity GuidanceVerifiedMDCGhealth.ec.europa.eu
Inline markers like [1] jump to the matching reference above.