4 ms·
What's id52? I feel like I'm missing a lot of context to understand what's being shared here.
by lxgr 1y ago
What's id52?
I feel like I'm missing a lot of context to understand what's being shared here.
- mdaniel 1y agoe.g. https://github.com/kulfi-project/kulfi/blob/malai-0.2.5/kulfi.app/doc/journeys/new-user-browser.ftd#L37 https://github.com/kulfi-project/kulfi/blob/malai-0.2.5/kulf... $ echo -n c1b2d4463e503765b7422e126ea7ff5633ba5903f97b700ac818 | wc -c 52 It would appear the leading "org-", "account-", et al are a separate namespacing of the id52 key
- lxgr 1y agoI figured as much, but that's an example for an id52, but not a description of what it is. The actual answer seems to be that these are zbase32-encoded 32 byte iroh node IDs: https://www.iroh.computer/blog/iroh-global-node-discovery https://www.iroh.computer/blog/iroh-global-node-discovery
- amitu 1y agoWe are built on top of https://www.iroh.computer/blog/iroh-dns https://www.iroh.computer/blog/iroh-dns, and iroh uses the public key as the node identifier. Unfortunately the iroh id is 64 char long, which can not be used in subdomains, subdomains have a char limit of 63, so we are using dnssec base32[1], which comes to 52 chars, and we use that 52 char string as the primary identifier (instead of IP:port, which is used the "old school net" (tongue firmly in cheek), and we call it id52. https://datatracker.ietf.org/doc/rfc5155/ https://datatracker.ietf.org/doc/rfc5155/