Comments (3)
As far as I can see, we can't substitute libnacl
with cryptography
easily. The former uses Salsa20
to implement crypto_box_beforenm
(ref) and cryptography
doesn't seem to support Salsa20. The alternative would be to reconstruct Salsa20
from the ground up and that seems unworkable and impractical for a simple workaround.
The only real alternative is to then simply skip tests related to the tunnel crypto.
from py-ipv8.
Another option would be to bring back NoTunnelCrypto
when libnacl
is not found while testing.
from py-ipv8.
I've been convinced that installing the libsodium backend on the Windows testers is the only way for our validation test matrix to make sense. Workarounds seem to be too elaborate or (more generally) too error-prone and not testing the tunnels would casually ignore one of the integral parts of IPv8. We'll just have to bite the bullet and perform the GitHub Actions setup.
from py-ipv8.
Related Issues (20)
- Memory leak in Network HOT 1
- Validation action fails on missing dependencies
- Validation action doesn't install OS-level libsodium HOT 2
- Python 3.12 support HOT 1
- Peer addresses aren't being updated
- Add caching for validate action dependencies HOT 1
- Run the validation action with IPv6 endpoints HOT 2
- Get rid of `distutils_forwardport.py` A.S.A.P. HOT 1
- Missing dependencies in `setup.py`
- `aiohttp_apispec` `web.AppKey` warnings HOT 2
- Errors in unit tests when running with IPv6 enabled HOT 2
- Tracker plugin is outdated
- ipv8 upgrades to: based SHA-3 decentralized IP address, ipv4 ipv6 terminator HOT 1
- How to interact with a community from an api/app like fastapi or flask HOT 2
- Check if `aiohttp` >= `3.9.1` works on Python < `3.11` HOT 1
- how to use custom messages, Custom serialization per message: on fix_unpack_dictionary empty serialized_dictionary HOT 2
- is pyipv8 compatible with android? HOT 2
- Front-page builders are not triggering automatically HOT 4
- Mutation tests failing HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-ipv8.