[PR #2245] [MERGED] feat(fingerprint): add endpoint to reset olm secret based on fingerprint #28608

Closed
opened 2026-06-11 00:17:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: add-olm-recovery-endpoint-using-fingerprint


📝 Commits (1)

  • 46fd059 feat(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 olm credentials are deleted client-side.

Any clients that use this endpoint should be able to reuse the same olm with 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.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/pangolin/pull/2245 **Author:** [@water-sucks](https://github.com/water-sucks) **Created:** 1/14/2026 **Status:** ✅ Merged **Merged:** 1/15/2026 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `add-olm-recovery-endpoint-using-fingerprint` --- ### 📝 Commits (1) - [`46fd059`](https://github.com/fosrl/pangolin/commit/46fd059d5b2d6aa99a5f8e6121ac90793df315ea) feat(olm): reset/send new olm secret if a matching fingerprint is detected ### 📊 Changes **3 files changed** (+127 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/routers/external.ts` (+6 -0) 📝 `server/routers/olm/index.ts` (+1 -0) ➕ `server/routers/olm/recoverOlmWithFingerprint.ts` (+120 -0) </details> ### 📄 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 `olm` credentials are deleted client-side. Any clients that use this endpoint should be able to reuse the same `olm` with 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-11 00:17:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#28608