Commit Graph

11951 Commits (29e15de6642915f01d9388f7ffa5baaf00152f28)

Author SHA1 Message Date
derekpierre 29e15de664
Add dev newsfragment for #3522. 2024-07-24 11:00:14 -04:00
derekpierre 607e667350
Update test for EIP712 authentication when address from signature does not match expected address. 2024-07-24 10:54:38 -04:00
derekpierre aa00d3aeb8
Use clearer message when address returned by signature for EIP712 does not match expected address. 2024-07-24 10:54:36 -04:00
derekpierre 3853075407
Update EIP4361 authentication tests now that issued_at is the sole reference point for checking freshness. 2024-07-24 10:54:22 -04:00
derekpierre b7c9822be0
Enforce 2-hour freshness check for EIP4361 by always using issued_at - we no longer care whether `not_before` is present or not. 2024-07-24 10:53:54 -04:00
Derek Pierre ce70f7d59d
Merge pull request #3521 from derekpierre/update-siwe
Update siwe library to support `did`/wildcard URIs in SIWE message string; drop Python 3.8 support
2024-07-23 15:29:21 -04:00
derekpierre 1c4334c662
Add deprecation newsfragment for dropping Python 3.8 support. 2024-07-23 08:19:20 -04:00
derekpierre e1c6b23160
Update dependency definition for atxm, and update poetry.lock file accordingly. 2024-07-23 08:15:41 -04:00
KPrasch 08b5baf7fc
dependency hacking 2024-07-23 18:39:41 +07:00
KPrasch d8b006887e
relock dependencies with atxm==0.4.0 2024-07-23 18:28:08 +07:00
derekpierre 1320a13b7b
Relock dependencies using siwe-py 4.2.0 which contains the fix to loosen dependency restrictions. 2024-07-22 08:44:31 -04:00
derekpierre 12b24c184a
Add dev newsfragment for #3521. 2024-07-19 14:26:09 -04:00
derekpierre 3d45dc2044
Relock dependencies based on update made to siwe-py fork. 2024-07-17 09:35:32 -04:00
derekpierre b4e1042e83
Use 3.9 as the base python version for CI tests. 2024-07-16 10:27:53 -04:00
derekpierre fe02e51c41
Migration of Adapter use based on deprecation done for requests v2.32.2 via https://github.com/psf/requests/pull/6710. 2024-07-16 10:12:31 -04:00
derekpierre 8f2abef7f3
Remove now deprecated version property from docker-compose file. 2024-07-16 09:39:39 -04:00
derekpierre 796c29377d
Update use of SiweMessage object given breaking changes in updated siwe library.
Update tests accordingly including testing did URIs.
2024-07-16 09:38:15 -04:00
derekpierre 868a3d7830
Use customized atxm and siwe github dependencies until dependency conflicts can be resolved. 2024-07-16 09:36:39 -04:00
derekpierre ffc4458af4
Remove support for python 3.8 which is soon to be eol, and causes issues with dependency resolution. 2024-07-16 09:36:03 -04:00
derekpierre 4a409ab958
Rename integration test to have a unique name from acceptance test. 2024-07-16 09:32:28 -04:00
KPrasch 6090b92143
Merge pull request #3519 from derekpierre/unnecessary-context
Remove unnecessary context variables `:userAddressEIP4361` and `:userAddressEIP712`
2024-07-05 21:12:00 +08:00
derekpierre 3b4709a46f
Don't limit version of codecov gh action. Allow latest v4 to always be used. Perhaps this will resolve our codecov issues. 2024-07-04 15:07:20 -04:00
derekpierre b21daca7f9
Add dev newsfragment for #3519. 2024-07-04 14:26:59 -04:00
derekpierre 1a1ba746fc
Generate the EIP712 test auth message on the fly instead of having a fixed message/signature combination. 2024-07-04 13:54:20 -04:00
derekpierre 167669c3c9
Separate fixtures for EIP4361 and EIP712 messages, and update tests accordingly. This will make things easier once we fully remove EIP712 support in the future. 2024-07-04 13:54:17 -04:00
derekpierre 22bf9df1ad
Removal of unnecessary/no longer needed special context variables for EVM wallet authentication. These were never released publicly (local to v7.4.x branch) so no compatibility concerns removing them. 2024-07-04 13:53:22 -04:00
Derek Pierre f5b8f18e39
Merge pull request #3513 from derekpierre/eip4361-passthrough
Accept/Process EIP-4361 passthrough context variable used for single sign-on capabilities
2024-06-24 13:17:58 -04:00
derekpierre 28df8b851f
Respond to RFCs for #3513. 2024-06-24 08:10:36 -04:00
derekpierre c6ed0e767b
Add newsfragment for #3513. 2024-06-21 12:38:09 -04:00
derekpierre 184de55bfc
Handle context variable for EIP4361 auth signature, where the SIWE message and signature were passed through from the 3rd party app, and not created by TACo itself. 2024-06-21 12:17:00 -04:00
Derek Pierre 17dd57e6a1
Merge pull request #3510 from derekpierre/user-auth
Refactored User Auth
2024-06-18 08:15:53 -04:00
derekpierre 65d3f8a8df
Add dev newsfragment for #3510. 2024-06-06 15:58:01 -04:00
derekpierre 59d42b7b2e
Some code reorg that leaves space for additional authentication types other than EVM. 2024-06-06 15:48:45 -04:00
KPrasch 3b3263a57d
Merge pull request #3496 from KPrasch/rpc
Default RPC endpoints for Condition Evaluation
2024-06-05 15:52:19 +02:00
derekpierre 61544cca3d
Check for duplicate entries between user supplied endpoints and fallback endpoints. All endpoints for a specific chain should be unique. 2024-06-05 11:29:06 +02:00
KPrasch 31bf91650c
de-duplicate conditions URIs while preserving order 2024-06-04 15:29:35 +02:00
KPrasch f511ea37f6
Update nucypher/blockchain/eth/actors.py
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2024-06-04 15:20:07 +02:00
KPrasch f1914f37a2
Merge pull request #3508 from derekpierre/siwe-part-2
SIWE (EIP4361) Authentication Part 2
2024-05-31 11:29:10 +02:00
KPrasch d7aaf43f8c
respond to RFCs in PR #3496 2024-05-30 15:17:53 +02:00
KPrasch cf154b482c
newsfrag for PR #3496 2024-05-30 11:03:43 +02:00
KPrasch 2d8a5baf1b
linting 2024-05-30 11:01:50 +02:00
KPrasch bdd66f2289
Improves fallback RPC endpoint logging; perform startup health check for operator-supplied RPC endpoints. 2024-05-30 10:45:47 +02:00
KPrasch 06db7d504b
Merge pull request #3509 from derekpierre/long-description
Fix `long_description*` parameters in `setup.py`
2024-05-30 10:16:17 +02:00
derekpierre 0214471462
Allow any valid user authentication scheme for `:userAddress` context variable processing. 2024-05-29 09:46:37 -04:00
derekpierre ab4d4ee862
Add dev newsfragment for #3509. 2024-05-29 08:56:25 -04:00
derekpierre eda8986924
Re-add long_description properties to setup.py that were previously removed.
Obtain markdown text from README.md first then use the result as the long_description value for setup.
2024-05-29 08:52:52 -04:00
derekpierre 06bed0ff62
Add feature newsfragment for #3508. 2024-05-28 16:18:51 -04:00
derekpierre fa47141801
Update context tests to use auth message fixture to generate customized context with relevant user address context variables. 2024-05-28 14:31:22 -04:00
derekpierre a3f1328a02
Update authentication tests based on rename of auth scheme to EIP4361 from SIWE. 2024-05-28 14:31:21 -04:00
derekpierre 8d9bb3f9c0
Separate authentication message fixture from user context dictionary - provides more flexibility for testing. 2024-05-28 14:31:19 -04:00