Request For Feedback
Tokenized Room Aliases
#ssb-room #ssb-rooms #ssbroom #rff #aliases
Hey folks, I think I discovered one improvement to room aliases and would appreciate some feedback. I'll try to give accessible explanations so that anyone could understand what this means.
Manyverse has two features that fight with each other: room aliases, and the connections firewall. Alias is a way for you to have a username on the web that anyone can use to connect with you. staltz.hermies.club. What a great thing, now anyone can super easily connect with you on SSB without all that crazy hassle! But the firewall is a way to prevent strangers from connecting to you, because you don't want bad people getting your data. Wait. Oh, now I see. Aliases become useless with the firewall.
Instead of sending
staltz.hermies.club to my friend that I want to bring onto SSB, I can instead send the alias plus a magic code created only for my friend. Like a password, kind of. So
Now when my friend tries to use the "tokenized alias", they will first ask the room
hermies.club to forward the token (the magic code) to me. At this point, my friend still cannot connect to me because the firewall will prevent so. But the room can talk to me because I'm connected with the room, and the room then forwards to me that token, acting as an intermediary. "Yo, there's someone here who wants to connect with you, they say they are your friend because they mentioned something about magiccodehere, does that ring a bell?". And then I'm like "oh yeah, sure! Let them in, what's their SSB ID? I'll friend them".
And then once I've followed that person, whenever they try to connect with me, my firewall will allow it. And by the way, at this point, I would have deleted magiccodehere so that it's no longer valid for anyone who tries to use it again. I would have to generate a new one.
Drafty sequence diagrams
Creating a tokenized alias
Consuming a tokenized alias