astrosonic / sanctuary

A secure synchronous lightweight chatroom with zero logging and total transience
GNU General Public License v3.0
53 stars 11 forks source link

only chatroom identify DEADCAFE works #43

Open electricimp123 opened 4 years ago

electricimp123 commented 4 years ago

On Raspberry Pi 3 Model B Rev 1.2, following instructions verbatim, I am not able to connect local network clients to any chatroom identity EXCEPT for "DEADCAFE" (no idea where this identify was generated from but it showed up when I hit the reload icon at the top of the client)

gridhead commented 4 years ago

Hi @electricimp123, DEADCAFE is the standard identity of the chatroom generated when the page is loaded or refreshed. If you wish to join a chatroom with different identity - simply generate a random room identity or enter an 8-character lowercase hexadecimal number of your choice.

Then share this chatroom identity with someone else who you would like to add here and begin your conversations. As one of the features of the chatroom is transience - no message is kept back once the client leaves or refreshes the page so a default identity of DEADCAFE is generated back.

electricimp123 commented 4 years ago

Thank you for your reply.

What I am saying is that, in my case, though I was able to connect multiple clients to a generated chatroom identity, I was not able to see the various connections actually chat with each other (ie, whatever each client typed was not reflected in the other connections).

I tried this multiple times so it was not just a typo in the chatroom identity.

The only time it worked as expected was when I happened to notice "DEADCAFE" and just used that as the identity.

Another way to say it perhaps is that newly generated identities are NOT working, but the standard identity is.

gridhead commented 4 years ago

I understood your question properly now I guess.

All the clients are expected to have the same identity if they wish to be in the same chatroom. Even a slight change in the identity means it's a new chatroom and any conversation that you make with the older identity would not be reflected in the newer one.

DEADCAFE is the start point. Every client loads it up by default as a common identity so if you simply enter that - which you did - you would be able to conversate easily.

Another way to say it perhaps is that newly generated identities are NOT working, but the standard identity is.

Just share the newly generated identity with others and ask them to join. It should work as expected.