搞安全的高手请指点: El Capitan 下面 codesign 报告 Python 进程验证出错。但是 Ruby、Perl 正常

2015-10-26 13:22:00 +08:00
 Radeon

我习惯性用一个脚本驱动 codesign 检查进程的执行文件是否都是被签名过的,但是我发现在 El Capitan 下有问题

$ codesign -v `which python`

一切正常

$ which python
/usr/bin/python

正常

$ python # 起一个不会自动退出的 python REPL 进程
$ ps ax | grep python

取得 python REPL 进程 id ,比如是 555

$ codesign -v 555
555: code object is not signed at all

为什么!!

如果用 perl 、 ruby REPL 进程取代 python ,一切正常。换到 Yosemite 下,包括 python 也是一切正常

1985 次点击
所在节点    信息安全
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/231133

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX