Skip to content

Commit cf72364

Browse files
authored
Merge pull request #8 from dotenvx/audit
audit
2 parents 5537e58 + cec12db commit cf72364

3 files changed

Lines changed: 27 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ All notable changes to this project will be documented in this file. See [standa
3131
- Remove the external dotenvx executable dependency.
3232
- Remove the legacy setuptools build configuration.
3333

34+
### Security
35+
36+
- Upgrade PyO3 to 0.29.0, resolving its known iterator out-of-bounds read,
37+
missing closure synchronization bound, and string conversion buffer-overflow
38+
advisories.
39+
3440
## [0.3.0](https://github.com/dotenvx/dotenvx/compare/v0.2.6...v0.3.0)
3541

3642
### Added

DEVELOPMENT.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,26 @@ cargo check
4444
The `dotenvx-primitives` dependency version is independent. Change it only
4545
when this package should embed a newer primitives release.
4646

47+
## Security audits
48+
49+
Audit Rust dependencies in `Cargo.lock` with RustSec:
50+
51+
```sh
52+
cargo install cargo-audit --locked
53+
cargo audit
54+
```
55+
56+
Python's equivalent of `npm audit` is `pip-audit`:
57+
58+
```sh
59+
python -m pip install pip-audit
60+
pip-audit .
61+
```
62+
63+
This project currently has no runtime Python dependencies, but `pip-audit`
64+
should still be run whenever Python dependencies are added. Native dependencies
65+
embedded in the wheel are covered by `cargo audit`, not `pip-audit`.
66+
4767
## Publishing
4868

4969
Git tags matching `v*` trigger wheel builds for Linux, macOS, and Windows and

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dynamic = ["version"]
88
description = "a secure dotenv–from the creator of `dotenv`"
99
readme = "README.md"
1010
requires-python = ">=3.8"
11+
dependencies = []
1112
license = { text = "BSD-3-Clause" }
1213
authors = [
1314
{ name = "dotenv", email = "mot@dotenvx.com" }

0 commit comments

Comments
 (0)