bitting 1.2.0__tar.gz → 1.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bitting-1.2.0 → bitting-1.2.1}/CHANGELOG.md +16 -0
- {bitting-1.2.0 → bitting-1.2.1}/PKG-INFO +20 -5
- {bitting-1.2.0 → bitting-1.2.1}/README.md +18 -3
- {bitting-1.2.0 → bitting-1.2.1}/pyproject.toml +2 -2
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/__init__.py +1 -1
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/PKG-INFO +20 -5
- {bitting-1.2.0 → bitting-1.2.1}/CONTRIBUTING.md +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/CONTRIBUTORS.md +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/LICENSE +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/MANIFEST.in +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/SECURITY.md +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/examples/basic_usage.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/examples/fastapi_service.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/setup.cfg +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/__main__.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/cli.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/errors.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/hashing.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/integrations/__init__.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/integrations/fastapi.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/keys.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/manager.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/models.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/py.typed +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/storage.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting/timeutil.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/SOURCES.txt +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/dependency_links.txt +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/entry_points.txt +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/requires.txt +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/top_level.txt +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/conftest.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_cli.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_concurrency_regressions.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_fastapi_integration.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_hardening_regressions.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_hashing.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_hashing_hardening.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_keys.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_manager_hardening.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_manager_lifecycle.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_property_based.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_release_hardening.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_rotation_hardening.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_security_regressions.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_storage_hardening.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_storage_memory.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_storage_regressions.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_storage_sqlite.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_thread_safety.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_timeutil.py +0 -0
- {bitting-1.2.0 → bitting-1.2.1}/tests/test_validation_regressions.py +0 -0
|
@@ -6,6 +6,21 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.2.1] - 2026-11-18
|
|
10
|
+
|
|
11
|
+
Metadata and docs refresh on top of 1.2.0, plus the accumulated hardening
|
|
12
|
+
fixes below. The suite stays at 396 tests, and ruff, mypy --strict, and the
|
|
13
|
+
sdist/wheel builds stay clean.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- **README installation section now leads with `pip install bitting`** —
|
|
18
|
+
bitting is on PyPI since 1.2.0; the direct-from-GitHub instructions remain
|
|
19
|
+
as the development-install option. Added a PyPI version badge and checked
|
|
20
|
+
off the "PyPI publication" roadmap item.
|
|
21
|
+
- **Author metadata now includes contact email and location**
|
|
22
|
+
(`pyproject.toml` authors; README contributors section).
|
|
23
|
+
|
|
9
24
|
### Fixed
|
|
10
25
|
|
|
11
26
|
- **`ScryptHasher` rejects `r=1` with `n >= 2^16` at construction**: these
|
|
@@ -424,6 +439,7 @@ hardening pass.
|
|
|
424
439
|
- **Documentation**: README with architecture diagram, security model, and deployment notes; SECURITY.md; CONTRIBUTING.md; runnable examples.
|
|
425
440
|
- **Quality**: 117 automated tests (unit + integration), ruff lint/format clean, mypy `--strict` clean, pip-audit clean, wheel/sdist build verified.
|
|
426
441
|
|
|
442
|
+
[1.2.1]: https://github.com/muhammadanasmahmood/bitting/releases/tag/v1.2.1
|
|
427
443
|
[1.2.0]: https://github.com/muhammadanasmahmood/bitting/releases/tag/v1.2.0
|
|
428
444
|
[1.1.0]: https://github.com/muhammadanasmahmood/bitting/releases/tag/v1.1.0
|
|
429
445
|
[1.0.1]: https://github.com/muhammadanasmahmood/bitting/releases/tag/v1.0.1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bitting
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: API key lifecycle management for Python: generation, memory-hard hashing, prefix-indexed storage, rotation with grace periods, scopes, TTL, and audit events.
|
|
5
|
-
Author: Muhammad Anas Mahmood
|
|
5
|
+
Author-email: Muhammad Anas Mahmood <anasmahmood2917@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/muhammadanasmahmood/bitting
|
|
8
8
|
Project-URL: Repository, https://github.com/muhammadanasmahmood/bitting
|
|
@@ -46,6 +46,7 @@ Dynamic: license-file
|
|
|
46
46
|
[](https://github.com/muhammadanasmahmood/bitting)
|
|
47
47
|
[](LICENSE)
|
|
48
48
|
[](https://github.com/astral-sh/ruff)
|
|
49
|
+
[](https://pypi.org/project/bitting/)
|
|
49
50
|
|
|
50
51
|
---
|
|
51
52
|
|
|
@@ -85,13 +86,26 @@ The existing options tend to be either trivial header-checkers that compare agai
|
|
|
85
86
|
|
|
86
87
|
## Installation
|
|
87
88
|
|
|
88
|
-
|
|
89
|
+
Install from PyPI:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
pip install bitting
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Optional extras:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
pip install 'bitting[fastapi]' # FastAPI integration
|
|
99
|
+
pip install 'bitting[argon2]' # Argon2id hasher
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Or install the development version directly from GitHub:
|
|
89
103
|
|
|
90
104
|
```bash
|
|
91
105
|
pip install git+https://github.com/muhammadanasmahmood/bitting.git
|
|
92
106
|
```
|
|
93
107
|
|
|
94
|
-
|
|
108
|
+
Extras with direct-reference syntax (works with pip 21.3+):
|
|
95
109
|
|
|
96
110
|
```bash
|
|
97
111
|
pip install 'bitting[fastapi] @ git+https://github.com/muhammadanasmahmood/bitting.git' # FastAPI integration
|
|
@@ -280,7 +294,7 @@ The suite covers: key format and checksum properties (including single-character
|
|
|
280
294
|
- [ ] Optional pepper support in both hashers
|
|
281
295
|
- [ ] SQLAlchemy/PostgreSQL adapter in a companion package
|
|
282
296
|
- [ ] Verification-result caching helper (TTL-bounded, with revocation hooks)
|
|
283
|
-
- [
|
|
297
|
+
- [x] PyPI publication — bitting is [on PyPI](https://pypi.org/project/bitting/) since 1.2.0
|
|
284
298
|
|
|
285
299
|
## Limitations
|
|
286
300
|
|
|
@@ -299,6 +313,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). Every PR must keep `pytest`, `ruff`, and
|
|
|
299
313
|
## Contributors
|
|
300
314
|
|
|
301
315
|
- **[Muhammad Anas Mahmood](https://github.com/muhammadanasmahmood)** — Project Owner & Maintainer · architecture, releases, and repository stewardship
|
|
316
|
+
· <anasmahmood2917@gmail.com> · Karachi, Pakistan
|
|
302
317
|
|
|
303
318
|
See [CONTRIBUTORS.md](CONTRIBUTORS.md) for roles and how contributions are credited.
|
|
304
319
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
[](https://github.com/muhammadanasmahmood/bitting)
|
|
9
9
|
[](LICENSE)
|
|
10
10
|
[](https://github.com/astral-sh/ruff)
|
|
11
|
+
[](https://pypi.org/project/bitting/)
|
|
11
12
|
|
|
12
13
|
---
|
|
13
14
|
|
|
@@ -47,13 +48,26 @@ The existing options tend to be either trivial header-checkers that compare agai
|
|
|
47
48
|
|
|
48
49
|
## Installation
|
|
49
50
|
|
|
50
|
-
|
|
51
|
+
Install from PyPI:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pip install bitting
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Optional extras:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
pip install 'bitting[fastapi]' # FastAPI integration
|
|
61
|
+
pip install 'bitting[argon2]' # Argon2id hasher
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Or install the development version directly from GitHub:
|
|
51
65
|
|
|
52
66
|
```bash
|
|
53
67
|
pip install git+https://github.com/muhammadanasmahmood/bitting.git
|
|
54
68
|
```
|
|
55
69
|
|
|
56
|
-
|
|
70
|
+
Extras with direct-reference syntax (works with pip 21.3+):
|
|
57
71
|
|
|
58
72
|
```bash
|
|
59
73
|
pip install 'bitting[fastapi] @ git+https://github.com/muhammadanasmahmood/bitting.git' # FastAPI integration
|
|
@@ -242,7 +256,7 @@ The suite covers: key format and checksum properties (including single-character
|
|
|
242
256
|
- [ ] Optional pepper support in both hashers
|
|
243
257
|
- [ ] SQLAlchemy/PostgreSQL adapter in a companion package
|
|
244
258
|
- [ ] Verification-result caching helper (TTL-bounded, with revocation hooks)
|
|
245
|
-
- [
|
|
259
|
+
- [x] PyPI publication — bitting is [on PyPI](https://pypi.org/project/bitting/) since 1.2.0
|
|
246
260
|
|
|
247
261
|
## Limitations
|
|
248
262
|
|
|
@@ -261,6 +275,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). Every PR must keep `pytest`, `ruff`, and
|
|
|
261
275
|
## Contributors
|
|
262
276
|
|
|
263
277
|
- **[Muhammad Anas Mahmood](https://github.com/muhammadanasmahmood)** — Project Owner & Maintainer · architecture, releases, and repository stewardship
|
|
278
|
+
· <anasmahmood2917@gmail.com> · Karachi, Pakistan
|
|
264
279
|
|
|
265
280
|
See [CONTRIBUTORS.md](CONTRIBUTORS.md) for roles and how contributions are credited.
|
|
266
281
|
|
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "bitting"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.1"
|
|
8
8
|
description = "API key lifecycle management for Python: generation, memory-hard hashing, prefix-indexed storage, rotation with grace periods, scopes, TTL, and audit events."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = "MIT"
|
|
12
12
|
license-files = ["LICENSE"]
|
|
13
|
-
authors = [{ name = "Muhammad Anas Mahmood" }]
|
|
13
|
+
authors = [{ name = "Muhammad Anas Mahmood", email = "anasmahmood2917@gmail.com" }]
|
|
14
14
|
keywords = [
|
|
15
15
|
"api-key",
|
|
16
16
|
"api-keys",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bitting
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: API key lifecycle management for Python: generation, memory-hard hashing, prefix-indexed storage, rotation with grace periods, scopes, TTL, and audit events.
|
|
5
|
-
Author: Muhammad Anas Mahmood
|
|
5
|
+
Author-email: Muhammad Anas Mahmood <anasmahmood2917@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/muhammadanasmahmood/bitting
|
|
8
8
|
Project-URL: Repository, https://github.com/muhammadanasmahmood/bitting
|
|
@@ -46,6 +46,7 @@ Dynamic: license-file
|
|
|
46
46
|
[](https://github.com/muhammadanasmahmood/bitting)
|
|
47
47
|
[](LICENSE)
|
|
48
48
|
[](https://github.com/astral-sh/ruff)
|
|
49
|
+
[](https://pypi.org/project/bitting/)
|
|
49
50
|
|
|
50
51
|
---
|
|
51
52
|
|
|
@@ -85,13 +86,26 @@ The existing options tend to be either trivial header-checkers that compare agai
|
|
|
85
86
|
|
|
86
87
|
## Installation
|
|
87
88
|
|
|
88
|
-
|
|
89
|
+
Install from PyPI:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
pip install bitting
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Optional extras:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
pip install 'bitting[fastapi]' # FastAPI integration
|
|
99
|
+
pip install 'bitting[argon2]' # Argon2id hasher
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Or install the development version directly from GitHub:
|
|
89
103
|
|
|
90
104
|
```bash
|
|
91
105
|
pip install git+https://github.com/muhammadanasmahmood/bitting.git
|
|
92
106
|
```
|
|
93
107
|
|
|
94
|
-
|
|
108
|
+
Extras with direct-reference syntax (works with pip 21.3+):
|
|
95
109
|
|
|
96
110
|
```bash
|
|
97
111
|
pip install 'bitting[fastapi] @ git+https://github.com/muhammadanasmahmood/bitting.git' # FastAPI integration
|
|
@@ -280,7 +294,7 @@ The suite covers: key format and checksum properties (including single-character
|
|
|
280
294
|
- [ ] Optional pepper support in both hashers
|
|
281
295
|
- [ ] SQLAlchemy/PostgreSQL adapter in a companion package
|
|
282
296
|
- [ ] Verification-result caching helper (TTL-bounded, with revocation hooks)
|
|
283
|
-
- [
|
|
297
|
+
- [x] PyPI publication — bitting is [on PyPI](https://pypi.org/project/bitting/) since 1.2.0
|
|
284
298
|
|
|
285
299
|
## Limitations
|
|
286
300
|
|
|
@@ -299,6 +313,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). Every PR must keep `pytest`, `ruff`, and
|
|
|
299
313
|
## Contributors
|
|
300
314
|
|
|
301
315
|
- **[Muhammad Anas Mahmood](https://github.com/muhammadanasmahmood)** — Project Owner & Maintainer · architecture, releases, and repository stewardship
|
|
316
|
+
· <anasmahmood2917@gmail.com> · Karachi, Pakistan
|
|
302
317
|
|
|
303
318
|
See [CONTRIBUTORS.md](CONTRIBUTORS.md) for roles and how contributions are credited.
|
|
304
319
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|