matrix-org / matrix-appservice-irc

Node.js IRC bridge for Matrix
Apache License 2.0
460 stars 149 forks source link

Check if the passkey is able to unlock user passwords on startup #1718

Closed Half-Shot closed 1 year ago

Half-Shot commented 1 year ago

If you pass in a passkey that is wrong, the bridge will fail to connect users and kick them from rooms if the passkey isn't valid. We should:

A) Check the validity of the passkey by doing an unlock of any password in the datastore. B) Ideally not kick users on password unlock fails.

The kick failure is that we are unable to load the ClientConfig, and the failure triggers the client kick code.