What is code signing?

A digital signature on an app that shows who made it and that it hasn't been changed since it was signed.

Code signing adds a digital signature to an app. The signature shows which developer signed it, and macOS can tell if anything in the app was changed afterwards.

The kinds you’ll see

  • Apple: part of macOS or an Apple app.
  • App Store: signed when it was published in the App Store.
  • Developer ID: signed by a developer registered with Apple, for apps from websites. These must also pass notarization.
  • Ad hoc or unsigned: no developer identity. Normal for tools you build yourself or install with Homebrew; unusual for an app you downloaded.

Why it matters for security

A signature tells you who made an app, not whether it’s safe. But a program with no signature, or a broken one, running from a hidden folder deserves a closer look. You can check an app’s signature with codesign -dv --verbose=2 /path/to/App.app in Terminal.

Every term in the glossary