Skip to content

Commit de780bc

Browse files
authored
docs(NODE-6235): update release integrity section (#702)
1 parent 676b797 commit de780bc

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. The contents of the Github tarball and npm's tarball are identical.
3240

3341
## Bugs / Feature Requests
3442

0 commit comments

Comments
 (0)