regent-httpsig 0.7.1__py3-none-any.whl → 0.7.2__py3-none-any.whl

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.
@@ -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",
regent_httpsig/sfv.py CHANGED
@@ -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",
@@ -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
@@ -1,4 +1,4 @@
1
- regent_httpsig/__init__.py,sha256=vroqNa6rQpwQFxhYpLEQcWhSltRiqvF0DZaPvn_lNCc,2191
1
+ regent_httpsig/__init__.py,sha256=sf-Xv-BhospFQimivhZiolMrlvGU0f6zjdt9Y9sji1Y,2191
2
2
  regent_httpsig/budget.py,sha256=o4RMS8v9CfDXZlu3Ov_CWB798B-9mc5x4M_I3jj1MGA,21988
3
3
  regent_httpsig/cli.py,sha256=WUSLQ2WuEX4E85L2C2EgoUfu5cWpj6MRSG1UVNHpzcw,2005
4
4
  regent_httpsig/config.py,sha256=7fyIKZeUWs4BIJfc0TXJA_5P_v4-Z7iCFdEkmu_E9-E,3537
@@ -6,12 +6,12 @@ regent_httpsig/fastapi.py,sha256=gGUi08yMahtgRrOWN_339lm2Ano0Gu-zjRLAK81bXl0,215
6
6
  regent_httpsig/jwk.py,sha256=h4vgnIgpnyKeWdWpm7g_hEyXZOPVREWn-bD4JN07tT0,1637
7
7
  regent_httpsig/netguard.py,sha256=Sqg08mdC94RWvnQLJaH4weZW0nN2VlTJF5wVF8VYGHY,2121
8
8
  regent_httpsig/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- regent_httpsig/sfv.py,sha256=JYaU-2_52-xlftt3MGy2Xzy3pMaa7LddZxPLQ9apjsk,10060
9
+ regent_httpsig/sfv.py,sha256=C8CVW8-3uSRZ6-Vy3lQANxDm-wuJU6XLDGL5mtISmLE,10450
10
10
  regent_httpsig/sign.py,sha256=myqUIhWe2y62DGhvyDzTPPlXKfta8EpHskpM0nJzbqk,13180
11
11
  regent_httpsig/usage.py,sha256=6qeN7_4a-cNTJOglcgKumqNmag8w7-UF9xTJ1ohI5uU,14818
12
12
  regent_httpsig/verify.py,sha256=fwsCWiKclez-KQzrIRwMNDdN4bpPbI45cxIU6_lqxCA,34783
13
- regent_httpsig-0.7.1.dist-info/METADATA,sha256=yP1tnPre-G3rIO0WBf07jsbUaPYaiLFUr0iBTxkSPpE,15979
14
- regent_httpsig-0.7.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
15
- regent_httpsig-0.7.1.dist-info/entry_points.txt,sha256=SgZdmc27V14IAmwOjbBoCYLsbrALaqdTUHNHLbil2dU,59
16
- regent_httpsig-0.7.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
17
- regent_httpsig-0.7.1.dist-info/RECORD,,
13
+ regent_httpsig-0.7.2.dist-info/METADATA,sha256=2bjPlpTB7-cvIsNbmak2zvh7QWblEAKTeLju2J0pKRY,15982
14
+ regent_httpsig-0.7.2.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
15
+ regent_httpsig-0.7.2.dist-info/entry_points.txt,sha256=SgZdmc27V14IAmwOjbBoCYLsbrALaqdTUHNHLbil2dU,59
16
+ regent_httpsig-0.7.2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
17
+ regent_httpsig-0.7.2.dist-info/RECORD,,