
1·
15 days agoIn then long term I would love to get this service into mainline itself. It is extremely simple and generically useful, not just for iroh.
The benefit of using mainline is that it is a huge deployed DHT. I have also experimented with writing a new DHT using iroh connections, but I want a solution for this problem now.
score 1 · canonical
You have to trust the local gateway. Assuming the gateway and plugin work as intended, the gateway has two functions, BLAKE3 lookups and pkarr lookups.
For BLAKE3 lookups they are content-addressed, so asking the gateway for some resource isn’t much different than asking any CDN for a resource. In fact arguably it is safer since you are guaranteed to get the content matching the hash.
For pkarr lookups you have to trust the author. But this isn’t fundamentally different to a request to a third party domain via https. If you get some resource from a CDN you have to trust the domain owner not to put malware there.
score 1 · canonical