Skip to content

Symmetric keys being generated at the same time causing invisible decryption errors #1

@GizziXZ

Description

@GizziXZ

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions