Skip to content

Commit f2a0893

Browse files
committed
Add release integrity section to readme
1 parent 0373137 commit f2a0893

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,26 @@ that the `mongodb` extension be installed:
4444
Additional installation instructions for the extension may be found in its
4545
[PHP.net documentation](https://php.net/manual/en/mongodb.installation.php).
4646

47+
## Release Integrity
48+
49+
Releases are created automatically and the resulting release tag is signed using
50+
the [PHP team's GPG key](https://pgp.mongodb.com/php-driver.asc). To verify the
51+
tag signature, download the key and import it using `gpg`:
52+
53+
```shell
54+
gpg --import php-driver.asc
55+
```
56+
57+
Then, in a local clone, verify the signature of a given tag (e.g. `1.19.0`):
58+
59+
```shell
60+
git show --show-signature 1.19.0
61+
```
62+
63+
> [!NOTE]
64+
> Composer does not support verifying signatures as part of its installation
65+
> process.
66+
4767
## Reporting Issues
4868

4969
Issues pertaining to the library should be reported in the

0 commit comments

Comments
 (0)