mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 10:42:26 +00:00
18 lines
448 B
Plaintext
18 lines
448 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# codesign
|
|
|
|
> Create and manipulate code signatures for macOS.
|
|
> More information: <https://keith.github.io/xcode-man-pages/codesign.1.html>.
|
|
|
|
- Sign an application with a certificate:
|
|
|
|
`codesign --sign "{{My Company Name}}" {{path/to/application_file.app}}`
|
|
|
|
- Verify the certificate of an application:
|
|
|
|
`codesign --verify {{path/to/application_file.app}}`
|