Skip to content

Commit a3550ec

Browse files
authored
DOCSP-54082 Fixes Verify Packages (#14694)
1 parent 32c5cee commit a3550ec

File tree

4 files changed

+46
-12
lines changed

4 files changed

+46
-12
lines changed

content/manual/manual/source/includes/steps-install-verify-files-pgp.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,19 @@ stepnum: 3
4343
ref: download-key-file
4444
action:
4545
- pre: |
46-
If you have not downloaded and imported the MongoDB {+version+} public key,
47-
run these commands:
46+
The MongoDB 8.2 package download is verified using the
47+
MongoDB 8.0 public key. If you have not downloaded and imported
48+
the MongoDB 8.0 public key, run these commands:
4849
language: sh
4950
copyable: true
5051
code: |
51-
curl -LO https://pgp.mongodb.com/server-{+version+}.asc
52-
gpg --import server-{+version+}.asc
52+
curl -LO https://pgp.mongodb.com/server-8.0.asc
53+
gpg --import server-8.0.asc
5354
- pre: |
5455
PGP should return this response:
5556
language: sh
5657
code: |
57-
gpg: key {+rsa-key+}: "MongoDB {+version+} Release Signing Key <packaging@mongodb.com>" imported
58+
gpg: key {+rsa-key+}: "MongoDB 8.0 Release Signing Key <packaging@mongodb.com>" imported
5859
gpg: Total number processed: 1
5960
gpg: imported: 1
6061
---
@@ -80,7 +81,7 @@ action:
8081
code: |
8182
gpg: Signature made Wed Jun 5 03:17:20 2019 EDT
8283
gpg: using RSA key {+rsa-key+}
83-
gpg: Good signature from "MongoDB {+version+} Release Signing Key <packaging@mongodb.com>" [unknown]
84+
gpg: Good signature from "MongoDB 8.0 Release Signing Key <packaging@mongodb.com>" [unknown]
8485
- pre: |
8586
If the package is
8687
properly signed, but you do not currently trust the signing key

content/manual/manual/source/tutorial/verify-mongodb-packages.txt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,41 @@ Verify Integrity of MongoDB Packages
2222
:class: singlecol
2323

2424
.. include:: /includes/minor-release.rst
25+
26+
.. include:: /includes/unicode-checkmark.rst
27+
28+
The MongoDB release team digitally signs all software packages to
29+
certify that a particular MongoDB package is a valid and unaltered
30+
MongoDB release. Before installing MongoDB, you should validate the
31+
package using either the provided PGP signature or SHA-256 checksum.
32+
33+
PGP signatures provide the strongest guarantees by checking both the
34+
authenticity and integrity of a file to prevent tampering.
35+
36+
Cryptographic checksums only validate file integrity to prevent network
37+
transmission errors.
38+
39+
Verify Linux/macOS Packages
40+
---------------------------
41+
42+
Use PGP/GPG
43+
~~~~~~~~~~~
44+
45+
MongoDB signs each release branch with a different PGP key. The public
46+
key files for each release branch are available for download from the
47+
`key server <https://pgp.mongodb.com/>`_ in both textual ``.asc`` and binary
48+
``.pub`` formats.
49+
50+
.. include:: /includes/steps/install-verify-files-pgp.rst
51+
52+
Use SHA-256
53+
~~~~~~~~~~~
54+
55+
.. include:: /includes/steps/install-verify-files-sha.rst
56+
57+
Verify Windows Packages
58+
-----------------------
59+
60+
The following procedure verifies the MongoDB binary against its SHA256 key.
61+
62+
.. include:: /includes/steps/install-verify-files-windows.rst

content/manual/upcoming/source/tutorial/verify-mongodb-packages.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ Verify Integrity of MongoDB Packages
2424
.. include:: /includes/rc-available.rst
2525

2626
.. include:: /includes/minor-release.rst
27+

content/table-of-contents/L2-data/on-prem.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,6 @@ const tocData: TocItem[] = [
166166
},
167167
],
168168
},
169-
{
170-
label: "Verify Package Integrity",
171-
contentSite: "docs",
172-
url: "/docs/:version/tutorial/verify-mongodb-packages",
173-
versions: { excludes: ["upcoming"] },
174-
},
175169
{
176170
label: "Verify Package Integrity",
177171
contentSite: "docs",

0 commit comments

Comments
 (0)