regent-httpsig 0.7.1__tar.gz → 0.7.2__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.
Files changed (34) hide show
  1. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/PKG-INFO +2 -2
  2. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/pyproject.toml +2 -2
  3. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/__init__.py +1 -1
  4. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/sfv.py +7 -1
  5. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/.github/workflows/ci.yml +0 -0
  6. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/.github/workflows/release.yml +0 -0
  7. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/.gitignore +0 -0
  8. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/CHANGELOG.md +0 -0
  9. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/CONTRIBUTING.md +0 -0
  10. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/GOVERNANCE.md +0 -0
  11. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/LICENSE +0 -0
  12. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/MAINTAINERS.md +0 -0
  13. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/README.md +0 -0
  14. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/SECURITY.md +0 -0
  15. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/examples/fastapi_verify.py +0 -0
  16. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/examples/httpx_signer.py +0 -0
  17. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/budget.py +0 -0
  18. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/cli.py +0 -0
  19. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/config.py +0 -0
  20. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/fastapi.py +0 -0
  21. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/jwk.py +0 -0
  22. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/netguard.py +0 -0
  23. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/py.typed +0 -0
  24. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/sign.py +0 -0
  25. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/usage.py +0 -0
  26. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/src/regent_httpsig/verify.py +0 -0
  27. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/tests/test_budget.py +0 -0
  28. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/tests/test_netguard.py +0 -0
  29. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/tests/test_signer.py +0 -0
  30. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/tests/test_usage.py +0 -0
  31. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/tests/test_vectors.py +0 -0
  32. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/tests/test_verifier.py +0 -0
  33. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/vectors/aauth-budgets-vectors.json +0 -0
  34. {regent_httpsig-0.7.1 → regent_httpsig-0.7.2}/vectors/generate.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: regent-httpsig
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: Verify and sign AI agent HTTP traffic in Python — RFC 9421 HTTP Message Signatures: Web Bot Auth (what OpenAI ships) and AAuth.
5
5
  Project-URL: Homepage, https://github.com/regent-protocol/regent-httpsig
6
6
  Project-URL: Repository, https://github.com/regent-protocol/regent-httpsig
@@ -19,7 +19,7 @@ Classifier: Topic :: Security :: Cryptography
19
19
  Classifier: Typing :: Typed
20
20
  Requires-Python: >=3.11
21
21
  Requires-Dist: cryptography>=42
22
- Requires-Dist: http-message-signatures>=2.0.1
22
+ Requires-Dist: http-message-signatures<3,>=2.0.1
23
23
  Requires-Dist: httpx>=0.25
24
24
  Requires-Dist: typing-extensions>=4.10
25
25
  Provides-Extra: aauth
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "regent-httpsig"
7
- version = "0.7.1"
7
+ version = "0.7.2"
8
8
  description = "Verify and sign AI agent HTTP traffic in Python — RFC 9421 HTTP Message Signatures: Web Bot Auth (what OpenAI ships) and AAuth."
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -29,7 +29,7 @@ dependencies = [
29
29
  "cryptography>=42",
30
30
  # typing_extensions: http-message-signatures 2.0.1 imports it but forgets to
31
31
  # declare it — we declare it so installs never break.
32
- "http-message-signatures>=2.0.1",
32
+ "http-message-signatures>=2.0.1,<3",
33
33
  "typing_extensions>=4.10",
34
34
  "httpx>=0.25",
35
35
  ]
@@ -47,7 +47,7 @@ from regent_httpsig.verify import (
47
47
  VerifiedSignature,
48
48
  )
49
49
 
50
- __version__ = "0.7.1"
50
+ __version__ = "0.7.2"
51
51
 
52
52
  __all__ = [
53
53
  "DIRECTORY_MEDIA_TYPE",
@@ -20,10 +20,16 @@ from http_message_signatures import ( # type: ignore[attr-defined]
20
20
  HTTPSignatureComponentResolver,
21
21
  HTTPSignatureKeyResolver,
22
22
  algorithms,
23
- http_sfv,
24
23
  )
25
24
  from http_message_signatures.structures import CaseInsensitiveDict
26
25
 
26
+ # http-message-signatures 2.1.0 (19.10.2026) dropped its vendored `http_sfv` module for the
27
+ # `http-sf` package, whose `compat` module keeps the same parse()/params/value API.
28
+ try: # 2.1.0 and later
29
+ from http_sf import compat as http_sfv # type: ignore[import-not-found,no-redef]
30
+ except ImportError: # 2.0.x
31
+ from http_message_signatures import http_sfv # type: ignore[attr-defined,no-redef]
32
+
27
33
  __all__ = [
28
34
  "ED25519",
29
35
  "CaseInsensitiveDict",
File without changes
File without changes