Commit Graph

9 Commits

Author SHA1 Message Date
DumontIO
c92e07c88e Python code cleanup
These changes should not change any functionality.

In code:

- Added async keyword to CryptoSystem::kind since it's actually implemented async
- Removed unused socket import in json_api

In tests:
- Removed unused imports
- Removed unnecessary return statements
- Removed unused variables
- Cleaned up some spacing to match PEP-8
- Changed many comparisons to match PEP-8
- Use ValueSubKey classes instead of integers to keep types in line
2024-08-13 16:47:06 -04:00
Christien Rioux
05180252e4 * API Breaking Change: CryptoSystem.verify() should return bool, and reserve errors for error cases, not validation failures.
* API Breaking Change: VeilidAPI.verify_signatures() returns Option<TypedKeySet> now
Fixes #313
2024-05-31 16:20:58 -04:00
Christien Rioux
800348451e improve route selection and add generate_shared_secret 2024-03-27 17:53:51 -05:00
Teknique
d9d03885d9 Run Black on veilid-python 2023-08-02 12:28:05 -07:00
John Smith
b6e055e47d test work 2023-06-18 18:47:39 -04:00
Teknique
f1aad14099
tests/__init__ => conftest 2023-06-17 12:29:37 -07:00
Teknique
553ea7a3e0
Big refactoring sweep through tests 2023-06-17 12:29:36 -07:00
John Smith
d6f442d431 better error handling 2023-06-15 20:22:54 -04:00
John Smith
615e0ca1d0 more tests 2023-06-14 21:06:10 -04:00