Replies: 3 comments 1 reply
-
In practice yes. The criticial piece of information is the |
Beta Was this translation helpful? Give feedback.
-
I am currently working on a way to add a generic way for simple authentication that can be wrapped around protcols here: #3157 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanations, and very cool that you're working on an authorization wrapper! I have a couple of follow-up questions, as understanding this correctly seems critical for using a library like this: Confidentiality of NodeIds
Different approaches for adding authorization
Really thankful for your time answering those questions! 💚 |
Beta Was this translation helpful? Give feedback.
-
Hi! I learned about iroh at FOSDEM, and it might solve a real problem for us: Syncing Automerge documents across different local networks in Ethersync!
My question: What approaches do you recommend for adding authorization – making sure that only certain people can exchange data with you? Applications like dumbpipe seem to use only a
NodeTicket
as an "authorization token" which you need to know to connect. But depending on the enabled discovery mechanisms, isn't it possible that other people could learn about your public key, and then connect to you?Two ideas:
I think it might be helpful if you wrote a little guide on this topic, because many people who go beyond a certain prototyping stage might ask themselves similar questions.
And some more specific questions:
NodeTicket
secret actually prevent other people from connecting to the pipe? Would this also be true when DNS or local discovery would be activated? To me, this seems important to mention in the documentation of discovery mechanisms.iroh-gossip
, can people who don't know aTopic
somehow learn about it? In other words, is sharing a ticket containing a topic a good way to form private gossip "groups"? Also here, I'd suggest adding this piece of information to the protocol documentation.Note: The ticket documentation, which mentions "secret document tickets" has two dead links: https://www.iroh.computer/docs/layers/document and https://www.iroh.computer/docs/api/doc-share. And https://www.dumbpipe.dev has a dead link to https://iroh.computer/docs/layers/connections.
Thanks a ton for working on this awesome project! :)
Beta Was this translation helpful? Give feedback.
All reactions