Skip to content

Commit 41f0a2b

Browse files
authored
docs(NODE-6238): update release integrity section (#41)
1 parent 7d1c1d4 commit 41f0a2b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ npm install mongodb-legacy
6565

6666
### Release Integrity
6767

68+
Releases are created automatically and signed using the [Node team's GPG key](https://pgp.mongodb.com/node-driver.asc). This applies to the git tag as well as all release packages provided as part of a GitHub release. To verify the provided packages, download the key and import it using gpg:
69+
70+
```
71+
gpg --import node-driver.asc
72+
```
73+
6874
The GitHub release contains a detached signature file for the NPM package (named
6975
`mongodb-legacy-X.Y.Z.tgz.sig`).
7076

@@ -80,6 +86,11 @@ To verify the integrity of the downloaded package, run the following command:
8086
gpg --verify mongodb-legacy-X.Y.Z.tgz.sig mongodb-legacy-X.Y.Z.tgz
8187
```
8288

89+
>[!Note]
90+
No verification is done when using npm to install the package. The contents of the Github tarball and npm's tarball are identical.
91+
92+
```
93+
8394
### Versioning
8495
8596
We recommend replacing your `mongodb` dependency with this one.

0 commit comments

Comments
 (0)