I don't think I will be fixing this bug until arcade is over for now because I have other stuff I need to work on, but if anyone by any chance happens to want to fix this for some reason, go for it.
the current work around for this bug is for one of the users to go into inspect element -> application -> indexedDB -> innkeeper -> keys and find the username of the friend you are trying to chat with, delete that key and refresh your browser and it will regenerate a symmetric key and send it to the user aswell.
Now you should be able to chat with the other user (other user might have to refresh aswell)
This happens because when you add a friend, both of you are trying to generate a symmetric key to send to each other at the same time causing both of you to use the wrong symmetric key to decrypt and causing the infamous invisible webcrypto error that took me a few days to figure out.
this is all in home.ejs
I don't think I will be fixing this bug until arcade is over for now because I have other stuff I need to work on, but if anyone by any chance happens to want to fix this for some reason, go for it.
the current work around for this bug is for one of the users to go into
inspect element -> application -> indexedDB -> innkeeper -> keysand find the username of the friend you are trying to chat with, delete that key and refresh your browser and it will regenerate a symmetric key and send it to the user aswell.Now you should be able to chat with the other user (other user might have to refresh aswell)
This happens because when you add a friend, both of you are trying to generate a symmetric key to send to each other at the same time causing both of you to use the wrong symmetric key to decrypt and causing the infamous invisible webcrypto error that took me a few days to figure out.
this is all in
home.ejs