tldr/pages/osx/codesign.md

12 lines
245 B
Markdown
Raw Normal View History

2017-10-07 00:48:32 +03:00
# codesign
2017-10-08 09:56:25 +03:00
> Create and manipulate code signatures for macOS.
2017-10-07 00:48:32 +03:00
- Sign an application with a certificate:
2017-10-07 00:48:32 +03:00
2017-10-15 07:01:32 +03:00
`codesign -s {{"My Company Name"}} {{/path/to/App.app}}`
2017-10-07 00:48:32 +03:00
2017-10-15 21:57:27 +03:00
- Verify the certificate of an application:
2017-10-07 00:48:32 +03:00
2017-10-15 07:01:32 +03:00
`codesign -v {{/path/to/App.app}}`