[GH-ISSUE #99] Add an option to update keys #28

Open
opened 2026-02-26 05:32:30 +03:00 by kerem · 0 comments
Owner

Originally created by @morph027 on GitHub (Aug 27, 2018).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/99

When a user re-installs Signal or switches it's mobile, new keys will be generated. The implementation used by the signal web gateway does then refuse to send messages due to key mismatch (security-wise 👍).

I've added an endpoint to delete the existing key so communication is working again.

A button like "re-key" or "new phone" or something clever which hit's this endpoint using DELETE and the mobile number with country prefix but without the +.

Originally created by @morph027 on GitHub (Aug 27, 2018). Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/99 When a user re-installs Signal or switches it's mobile, new keys will be generated. The implementation used by the signal web gateway does then refuse to send messages due to key mismatch (security-wise :+1:). I've [added an endpoint to delete](https://gitlab.com/morph027/signal-web-gateway/tree/master#rekey-in-case-of-re-installing-signal) the existing key so communication is working again. A button like "re-key" or "new phone" or something clever which hit's this endpoint using `DELETE` and the mobile number with country prefix but without the `+`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#28
No description provided.