对macOS命令行二进制文件进行签名,公证,强化等操作? [英] Signing, Notarizing, hardening, etc. a macOS command-line binary?

查看:68
本文介绍了对macOS命令行二进制文件进行签名,公证,强化等操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

强化,代码签名,公证,打包等(命令行二进制文件(stdin,stdout等,没有窗口或图标),以允许将二进制文件分发到macOS Catalina)的最合适方法是什么用户,以便他们可以以最小的痛苦/麻烦来运行该实用程序?

What are the most appropriate ways to harden, code-sign, notarize, package, etc., a command-line binary (stdin, stdout, etc., no windows or icons) to allow distribution of the binary to macOS Catalina users, so that they can run the utility with the least amount of pain/hassle?

假定GateKeeper等的默认/常规OS配置.假设用户当前最有可能没有已安装的工具或技能,无法从源代码进行编译.假设运行该实用程序时弹出的终端窗口不会吓到他们.

Assume the default/stock OS configuration of GateKeeper, etc. Assume the users most likely currently don't have the installed tools or skills to compile from source. Assume that a Terminal window popping up when running the utility won't scare them.

推荐答案

我已经开始使用 https://github.com/mitchellh/gon 最近,对此感到非常高兴.由Vagrant,Terraform,Packer等人的制造商提供.

I've started using https://github.com/mitchellh/gon recently, and am very happy with it. From the makers of Vagrant, Terraform, Packer, et al.

这篇关于对macOS命令行二进制文件进行签名,公证,强化等操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆