2017-10-06 14:48:32 -07:00
|
|
|
# codesign
|
|
|
|
|
2017-10-07 23:56:25 -07:00
|
|
|
> Create and manipulate code signatures for macOS.
|
2021-08-23 22:33:24 +03:00
|
|
|
> More information: <https://www.unix.com/man-page/osx/1/codesign/>.
|
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}}`
|