MongoDB Search リリースチームは、特定の mongotパッケージが有効で、改変されていない mongot リリースであることを証明するために、すべてのソフトウェア パッケージにデジタル署名しています。mongot をインストールする前に、コンテナイメージまたは tarball を検証する必要があります。
Dockerコンテナのイメージを検証します
1
cosign をインストールします。
Cosign がまだインストールされていない場合は、以下の Cosign インストール手順 に従ってください。
Homebrew を使用して macOS で、次のコマンドを実行します。
brew install cosign
2
3
コンテナイメージを検証します
{VERSION_NUMBER} を Docker Hub の mongot コンテナイメージのバージョンに置き換え、次のコマンドを実行してコンテナイメージを検証します。
COSIGN_REPOSITORY=docker.io/mongodb/signatures cosign verify --insecure-ignore-tlog --key=./mongodb-search-community.pem "docker.io/mongodb/mongodb-community-search:{VERSION_NUMBER}"
出力は、次のようになります。
Verification for index.docker.io/mongodb/mongodb-community-search:latest -- The following checks were performed on each of these signatures: - The cosign claims were validated - The signatures were verified against the specified public key [{"critical":{"identity":{"docker-reference":"docker.io/mongodb/mongodb-community-search:latest"}, "image":{"docker-manifest-digest":"sha256:b41f73a33aa62a62596b6aeaf4c177e47dc3a5901701f6d8d46f498a45f7ac53"}, "type":"cosign container image signature"},"optional":null}]
Tarball を検証する
1
3
tarball とその署名をダウンロードする
{VERSION_NUMBER} を検証する mongot のバージョンに置き換え、次のコマンドを実行して、システム アーキテクチャの tarball とその署名の両方をダウンロードします。
curl -fsSL https://downloads.mongodb.org/mongodb-search-community/{VERSION_NUMBER}/mongot_community_{VERSION_NUMBER}_linux_aarch64.tgz -o mongot_community_{VERSION_NUMBER}_linux_aarch64.tgz curl -fsSL https://downloads.mongodb.org/mongodb-search-community/{VERSION_NUMBER}/mongot_community_{VERSION_NUMBER}_linux_aarch64.tgz.sig -o mongot_community_{VERSION_NUMBER}_linux_aarch64.tgz.sig
curl -fsSL https://downloads.mongodb.org/mongodb-search-community/{VERSION_NUMBER}/mongot_community_{VERSION_NUMBER}_linux_x86_64.tgz -o mongot_community_{VERSION_NUMBER}_linux_x86_64.tgz curl -fsSL https://downloads.mongodb.org/mongodb-search-community/{VERSION_NUMBER}/mongot_community_{VERSION_NUMBER}_linux_x86_64.tgz.sig -o mongot_community_{VERSION_NUMBER}_linux_x86_64.tgz.sig
別のバージョンをダウンロードするには、{VERSION_NUMBER} のインスタンスを目的のバージョン番号に置き換えます。
4
tarball を確認します
{VERSION_NUMBER} を mongot のバージョンに置き換え、次のコマンドを実行して tarball を検証します。
gpg --verify mongot_community_{VERSION_NUMBER}_linux_aarch64.tgz.sig mongot_community_{VERSION_NUMBER}_linux_aarch64.tgz
gpg --verify mongot_community_{VERSION_NUMBER}_linux_x86_64.tgz.sig mongot_community_{VERSION_NUMBER}_linux_x86_64.tgz
別のバージョンを確認するには、{VERSION_NUMBER} のインスタンスを目的のバージョン番号に置き換えます。
出力は、次のようになります。
gpg: Signature made Fri Sep 5 15:37:47 2025 PDT gpg: using RSA key 55C58636FD6CEE2B789B6F49516C2412904B6C26 gpg: Good signature from "MongoDB Atlas Search Release Signing Key <packaging@mongodb.com>" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 55C5 8636 FD6C EE2B 789B 6F49 516C 2412 904B 6C26