Derek Pierre
1dff7d830c
Merge pull request #3590 from nucypher/fix-pypi
...
Fix PyPi Publishing Issues
2025-04-10 13:58:24 -04:00
derekpierre
c0d0249a3c
Remove license classifier which is now deprecated.
2025-04-10 12:03:18 -04:00
derekpierre
c42c9f65e7
Rely on published versions of nucypher-pychalk and nucypher-snaptime instead of github dependencies. Update pyproject.toml and poetry lock accordingly.
2025-04-09 16:47:48 -04:00
derekpierre
fb95182f9a
Update pypi job gh action versions.
2025-04-08 15:31:01 -04:00
derekpierre
ac90903805
Generate release notes for 7.5.0.
2025-04-08 13:56:02 -04:00
Derek Pierre
9a262f3ab2
Merge pull request #3520 from nucypher/v7.5.x
...
[EPIC] v7.5.x
2025-04-08 13:49:30 -04:00
Derek Pierre
a216e14989
Merge pull request #3588 from cygnusv/incompatible
...
Prepare breaking changes to post transcript
2025-04-08 12:11:31 -04:00
Manuel Montenegro
2127289a7d
Update contract registries
...
These registries were updated using the ones in
3703a8342a321b9197cfe6e960c17e1f77e331bb
2025-04-08 17:19:00 +02:00
Manuel Montenegro
0f5dcabcea
Rename back method name for is_provider_key_set
2025-04-08 16:56:43 +02:00
Manuel Montenegro
275f38f9d5
Rewording newfragment description
...
Co-authored-by: David Núñez <david@nucypher.com>
2025-04-07 20:45:33 +02:00
Manuel Montenegro
2859ff2a16
Update coordinator contract method name
2025-04-07 19:00:47 +02:00
Manuel Montenegro
73674f1bd5
Update contract registris for lynx and mainnet
2025-04-07 18:46:49 +02:00
Manuel Montenegro
98ec47c8d6
Merge branch 'v7.5.x' into incompatible
2025-04-07 18:34:06 +02:00
Derek Pierre
c392457f18
Merge pull request #3589 from derekpierre/fix-regex-warning
...
Fix BigInt Regex Warning
2025-04-04 16:05:15 -04:00
derekpierre
7999a02bbb
Add dev newsfragment for #3589 .
2025-04-04 15:46:11 -04:00
derekpierre
1be5aa0b29
Configure fee model role in coordinator for acceptance tests to pass based on latest changes in nucypher-contracts.
2025-04-04 15:46:10 -04:00
derekpierre
dcf0b1b667
Fix python warning about regex string syntax. The string is correct but python is warning about the escape sequence and assumes it was a mistake.
2025-04-04 15:46:06 -04:00
David Núñez
8c449dd0b2
Add newsfragment
2025-04-04 11:47:14 +02:00
David Núñez
98fc240d90
Introduce breaking change when posting transcripts
2025-04-04 11:38:21 +02:00
Derek Pierre
43ba98d36e
Merge pull request #3565 from derekpierre/redact-ip
...
Redact IP addresses of http requesters from logs
2025-03-25 15:31:54 -04:00
derekpierre
bbe75c5368
Add dev newsfragment for #3565 .
2025-03-25 11:40:27 -04:00
derekpierre
46f954f191
Redact IP address from twisted's http server log messages.
2025-03-25 11:40:25 -04:00
Derek Pierre
425ab87f17
Merge pull request #3585 from derekpierre/large-numbers-as-strings
...
Handle BigInts provided in JSON from `taco-web`
2025-03-25 11:39:22 -04:00
derekpierre
4c229120b9
Add acceptance test for handling of big int strings.
2025-03-25 08:55:48 -04:00
derekpierre
8d49a09be3
Make logic more robust for checking for BigInt strings.
...
Add unit test for utility method - it was already tested based on usage by a field, but let's test it directly.
2025-03-25 08:55:47 -04:00
derekpierre
f985433f11
Rename integer field for clarity.
2025-03-25 08:55:46 -04:00
derekpierre
113cd3792e
Add feature newsfragment for #3585 .
2025-03-25 08:55:45 -04:00
derekpierre
4198aed384
Allow processing of BigInt strings within context variable values.
...
Add tests.
2025-03-25 08:55:44 -04:00
derekpierre
46372dde1b
Add contract condition tests to verify use of big number integers as parameters and return value test values (comparator values).
2025-03-25 08:55:43 -04:00
derekpierre
d1e2311a97
Rename IntegerField to AnyIntegerField and add unit tests.
2025-03-25 08:55:43 -04:00
derekpierre
a4df4662aa
Properly handle bigint strings that are strings of large numbers that end with 'n'.
2025-03-25 08:55:42 -04:00
derekpierre
1b13c50b02
Add generic catch-all field for any data received from JSON (`taco-web`).
...
We need to account for the case when `taco-web` provides large numbers (bigints) as strings.
Add tests.
2025-03-25 08:55:35 -04:00
Derek Pierre
1cb40795d0
Merge pull request #3586 from derekpierre/fix-invalid-config
...
Fix setuptools invalid config for specific sub-depdencies
2025-03-25 08:54:01 -04:00
derekpierre
96ed40c396
Add dev newsfragment for #3586 .
2025-03-24 16:40:50 -04:00
derekpierre
0cedfb732b
Now that there are github dependencies which need to be built, include rust toolchain in ruff github action.
2025-03-24 16:35:44 -04:00
derekpierre
4803827426
Relock dependencies using our own forks of pychalk and snaptime which have entries in the setup.cfg that now use underscores instead of dashes. setuptools enforces the use of underscores.
...
Update dev dependencies group to no longer use soon to be deprecated header.
2025-03-24 16:35:33 -04:00
David Núñez
c8507105e9
Camel casing 🐫
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2025-03-23 10:46:16 +01:00
David Núñez
a614bc5e5f
Add JWTConditionDict type
2025-03-23 10:46:16 +01:00
David Núñez
10e9d19e66
validate_public_key has void return type so no need to return values
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2025-03-23 10:46:16 +01:00
David Núñez
d75ddbe6b2
Add JWTConditions to condition lingo tests
2025-03-23 10:46:16 +01:00
David Núñez
b022f7a0a0
Refactor JWTCondition to use execution calls instead of inheriting from them
...
The rationale for this is to keep the ExecutionCall abstraction to encapsulate the JWT verification logic, but without inheriting from ExecutionCallAccessControlConditions, which require ReturnValueTests, something that JWTConditions don't need.
2025-03-23 10:46:16 +01:00
David Núñez
d2a6ae919e
Better exception handling for JWT condition evaluation
2025-03-23 10:46:16 +01:00
David Núñez
7a33522410
Be consistent with parameters that are not optional
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2025-03-23 10:46:16 +01:00
David Núñez
22a18983f4
Specify pyjwt extra dependency on cryptography
...
See https://pyjwt.readthedocs.io/en/stable/installation.html#cryptographic-dependencies-optional
2025-03-23 10:46:16 +01:00
David Núñez
cee5e36519
Test for JWTCondition expiration
2025-03-23 10:46:16 +01:00
David Núñez
9c8db5e688
Validate public key PEM format in JWT conditions
...
Co-authored-by: James Campbell <james.campbell@tanti.org.uk>
2025-03-23 10:46:16 +01:00
David Núñez
05998b0a9a
Apply suggestions from code review
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2025-03-23 10:46:16 +01:00
David Núñez
28895c3463
Cleanup unused comments
2025-03-23 10:46:16 +01:00
David Núñez
4ce01d2a60
Validate expected issuer in JWT token
2025-03-23 10:46:16 +01:00
David Núñez
46d26768e7
Some comments and TODO regarding expected issuer
2025-03-23 10:46:16 +01:00