MongoDB发布团队对MongoDB Compass包进行数字签名,以证明这些包是有效且未经更改的MongoDB发布。 在安装MongoDB Compass之前,您可以使用数字签名来验证包。
本页介绍如何在 macOS 上验证.dmg包。
开始之前
If you don't have MongoDB Compass installed, download the MongoDB Compass binary from the Download Center.
步骤
要验证MongoDB Compass包,请运行:
codesign -dv --verbose=4 <path_to_compass_executable>
如果包由MongoDB签名,则输出包括以下信息:
Authority=Developer ID Application: MongoDB, Inc. (4XWMY46275) Authority=Developer ID Certification Authority Authority=Apple Root CA