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