Skip to content

Commit 2a23093

Browse files
committed
docs(NODE-6235): update release integrity section
1 parent 36c8134 commit 2a23093

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ You can learn more about it in [the specification](http://bsonspec.org).
1414

1515
### Release Integrity
1616

17+
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:
18+
19+
```shell
20+
gpg --import node-driver.asc
21+
```
22+
1723
The GitHub release contains a detached signature file for the NPM package (named
1824
`bson-X.Y.Z.tgz.sig`).
1925

@@ -29,6 +35,8 @@ To verify the integrity of the downloaded package, run the following command:
2935
gpg --verify bson-X.Y.Z.tgz.sig bson-X.Y.Z.tgz
3036
```
3137

38+
>[!Note]
39+
No verification is done when using npm to install the package. To ensure release integrity when using npm, download the tarball manually from the GitHub release, verify the signature, then install the package from the downloaded tarball using `npm install bson-X.Y.Z.tgz`.
3240

3341
## Bugs / Feature Requests
3442

0 commit comments

Comments
 (0)