2017-10-06 22:48:32 +01:00
|
|
|
# codesign
|
|
|
|
|
2017-10-08 07:56:25 +01:00
|
|
|
> Create and manipulate code signatures for macOS.
|
2024-01-31 10:20:27 +00:00
|
|
|
> More information: <https://keith.github.io/xcode-man-pages/codesign.1.html>.
|
2017-10-06 22:48:32 +01:00
|
|
|
|
2017-10-15 21:11:43 +01:00
|
|
|
- Sign an application with a certificate:
|
2017-10-06 22:48:32 +01:00
|
|
|
|
2023-02-20 06:59:02 +00:00
|
|
|
`codesign --sign "{{My Company Name}}" {{path/to/application_file.app}}`
|
2017-10-06 22:48:32 +01:00
|
|
|
|
2017-10-15 19:57:27 +01:00
|
|
|
- Verify the certificate of an application:
|
2017-10-06 22:48:32 +01:00
|
|
|
|
2023-02-20 06:59:02 +00:00
|
|
|
`codesign --verify {{path/to/application_file.app}}`
|