Para agentes de IA: um índice de documentação está disponível em https://www.mongodb.com/pt-br/docs/llms.txt — as versões de markdown de todas as páginas estão disponíveis anexando .md a qualquer caminho de URL.

Verificar a integridade do pacote

O MongoDB usa assinaturas digitais para certificar que cada pacote mongot é uma versão válida e inalterada. Verifique a imagem do contêiner mongot para confirmar sua autenticidade.

1

Execute o seguinte comando para salvar o arquivo PEM como mongodb-search-community.pem:

curl -fsSL \ https://cosign.mongodb.com/mongodb-search-community.pem \ -o mongodb-search-community.pem
2

Substitua {VERSION} pela tag de versão mongot e execute o seguinte comando:

COSIGN_REPOSITORY=docker.io/mongodb/signatures \cosign verify --private-infrastructure \ --key=./mongodb-search-community.pem \ "docker.io/mongodb/mongodb-community-search:{VERSION}"

A saída bem-sucedida é semelhante à seguinte:

Verification for index.docker.io/mongodb/mongodb-community-search:{VERSION} --The following checks were performed on each of these signatures: - The cosign claims were validated - The signatures were verified against the specified public key
1

Execute o seguinte comando para salvar o arquivo PEM como mongodb-enterprise-kubernetes-operator.pem:

wget \ https://cosign.mongodb.com/mongodb-enterprise-kubernetes-operator.pem
2

Substitua {VERSION} pela tag de versão mongot e execute o seguinte comando:

cosign verify \ --key mongodb-enterprise-kubernetes-operator.pem \ quay.io/mongodb/mongodb-search:{VERSION} \ --insecure-ignore-tlog

A saída bem-sucedida é semelhante à seguinte:

WARNING: Skipping tlog verification is an insecure practice that lacks of transparency and auditability verification for the signature. Verification for quay.io/mongodb/mongodb-search:{VERSION} --The following checks were performed on each of these signatures: - The cosign claims were validated - The signatures were verified against the specified public key