mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-15 21:15:28 -05:00
[PR #2245] [MERGED] feat(fingerprint): add endpoint to reset olm secret based on fingerprint #2908
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2245
Author: @water-sucks
Created: 1/14/2026
Status: ✅ Merged
Merged: 1/15/2026
Merged by: @oschwartz10612
Base:
dev← Head:add-olm-recovery-endpoint-using-fingerprint📝 Commits (1)
46fd059feat(olm): reset/send new olm secret if a matching fingerprint is detected📊 Changes
3 files changed (+127 additions, -0 deletions)
View changed files
📝
server/routers/external.ts(+6 -0)📝
server/routers/olm/index.ts(+1 -0)➕
server/routers/olm/recoverOlmWithFingerprint.ts(+120 -0)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
This attempts to reset an olm secret if a corresponding secret is found.
How to test?
Re-login with a machine after logging out with a client, AND make sure the
olmcredentials are deleted client-side.Any clients that use this endpoint should be able to reuse the same
olmwith a secret that has been reset (aka not the old secret, this should be removed), and a new device should not pop up in the list.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.