Comments (6)
I'll look into this and setting up the node at the same time. At the moment I do not know of a pure-rust RSA keygen, but it then again, for testing purposes at least at the moment, generating an ed25519 key on init --bits 2048 --profile test
cannot hurt too much.
from rust-ipfs.
Got stuck yesterday trying to rig up the rsa keygen without using openssl
but had to go with that eventually.
from rust-ipfs.
#101 with the simplest /id
without ?arg=another_peerid
.
from rust-ipfs.
Current status is:
- the testing the
?arg=another_peerid
requires #77 - even the local response is using plain multiaddrs without the
/ipfs/PeerId
suffix
It's probably best to append the /ipfs/PeerId
in the responses so that the following multi-node tests using /swarm/connect
will be connecting to (PeerId, Multiaddr)
or Some(peer_id), multiaddr
which way the api will be at that point.
Current plan for implement the identify_other(PeerId)
is to cache the identify
responses once they come in per PeerId
, drop cached values on disconnect and allow awaiting for the response arriving. Unsure if the current libp2p_identify
would allow asking the identify on demand, or if that'd even be preferred.
Testing plan currently is to setup three rust-ipfs
nodes (a, b, c), connect (a, b), connect (b, c) then ask a to identify_other(c)
, this requires the mdns disabling at least and kademlia bootstrapping which we do not do, not sure if it's launched automatically on first connection.
from rust-ipfs.
It's probably best to append the /ipfs/PeerId in the responses [...]
This is now drafted in #110 as more up to date /p2p/
suffixes. Also created #105 as the #77 came out without support for peer_ids (#104). Currently discussing how to proceed, as I believe the integration test (quoted below) and support for identify_other
will likely yield a solution to #105 as well as earth some things we need to fix in order to make libp2p_kad work for us.
Testing plan currently is to setup three
rust-ipfs
nodes (a, b, c), connect (a, b), connect (b, c) then ask a toidentify_other(c)
, this requires kademlia bootstrapping which we do not do, not sure if it's launched automatically on first connection.
Removed mdns part as mdns toggling was already in #104.
from rust-ipfs.
A new issue has been split, and the impl in #101, so closing.
from rust-ipfs.
Related Issues (20)
- Re-consider adding non-workspace dependending crate
- How to get resolved IPLD structure HOT 1
- Starting multiple inmemory instanced does not work HOT 6
- How to store and load Keypairs? HOT 8
- Upgrade to libp2p 0.41 HOT 2
- How to just serve? HOT 7
- Requesting to create PR code supporting WordBase-2048 or get feedback on the idea HOT 1
- unixfs examples do not actually use IPFS HOT 1
- Latest crates.io package dependency graph is broken HOT 1
- DAG-CBOR-encoded Ipld::Map does not strictly order keys HOT 2
- libp2p NetworkBehaviour implementation is not extensible.
- libp2p Transport implementation is not extensible. HOT 1
- conformance: ignored windows tests
- What about mounting IPFS with FUSE HOT 1
- Failing to build a blank project with ipfs dependency HOT 3
- broken aesni dependency when used as library
- When I installed and compiled on the Mac, an error occurredEnter title here HOT 3
- Node Storage Capacity HOT 1
- Bootstrap in Node
- can not run example fetch_and_cat HOT 2
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 rust-ipfs.