# Code Signing

> A digital seal on an app. It proves who made it and that nobody changed it.

**Field:** Software Development  
**Category:** Mobile Development  
**Also known as:** App Signing, Signing Certificate, Signing Key, Signed App

## Think of it like

Think of it like a wax seal on a letter. A broken seal shows someone opened it.

## Definition

Code signing puts a digital signature on an app. It proves who made the app and that nobody changed it since. The maker signs with a private key that only they hold. The phone checks the signature before it installs the app or an update. Android will not install an unsigned app, and iPhones need one too.

## Example

Lucy loses the key she signed her app with. Without it, she cannot send updates to the same app.

## Why it matters

It stops a stranger from passing off a changed app as yours. Updates must carry the same signature.

## Common mistake

Keeping the signing key in the code folder. Anyone who gets it can sign apps as you.

## Three principles

- **Proves the maker.** Only the key holder can sign.
- **Shows changes.** Any change breaks the signature.
- **Keep the key safe.** Lose it, and updates get hard.

## Related terms

- [Digital Signature](https://learn.benibix.com/term/development/digital-signature)
- [Public-Key Cryptography](https://learn.benibix.com/term/development/public-key-cryptography)
- [Android Package (APK)](https://learn.benibix.com/term/development/android-package)
- [Apple App Store](https://learn.benibix.com/term/development/app-store)
- [Secrets Management](https://learn.benibix.com/term/development/secrets-management)

## Taught in

- [Desktop Apps and Installers](https://learn.benibix.com/learn/development-platforms/desktop-apps-and-installers): OS and Files, 10/10

![Five steps in a row: build the app file, sign it with your private key, beta test with TestFlight or test tracks, app review where the store checks it (lit up), and in the store where anyone can install. Below, the Apple App Store box says US$99 a year to publish and every app is reviewed by people. The Google Play box says US$25 once to sign up and apps are uploaded as app bundles. A note says a rejected app goes back, gets fixed and is sent again.](https://learn.benibix.com/diagrams/dev2-app-release.svg)

---

Source: https://learn.benibix.com/term/development/code-signing
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
