mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 00:22:42 -05:00
[PR #2282] [MERGED] refactor(fingerprint): start fingerprint snapshots, merge with posture checks #2920
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/2282
Author: @water-sucks
Created: 1/20/2026
Status: ✅ Merged
Merged: 1/20/2026
Merged by: @oschwartz10612
Base:
dev← Head:refactor-fingerprints-postures-into-single-table📝 Commits (4)
d173a71refactor(fingerprint): start taking fingerprint snapshots in new tablea0baed9feat(fingerprint): consolidate posture checks into fingerprint table7054f2ffix(fingerprint): set fingerprintId reference to nullaeee3e9feat(fingerprint): clean up stale snapshots older than 1 year📊 Changes
12 files changed (+532 additions, -290 deletions)
View changed files
📝
server/db/pg/schema/schema.ts(+89 -33)📝
server/db/sqlite/schema/schema.ts(+102 -34)📝
server/lib/cleanupLogs.ts(+3 -0)📝
server/private/routers/approvals/listApprovals.ts(+33 -25)📝
server/routers/client/getClient.ts(+23 -16)📝
server/routers/client/listClients.ts(+10 -10)➕
server/routers/olm/fingerprintingUtils.ts(+224 -0)📝
server/routers/olm/getUserOlm.ts(+11 -12)📝
server/routers/olm/handleOlmPingMessage.ts(+17 -72)📝
server/routers/olm/handleOlmRegisterMessage.ts(+3 -80)📝
server/routers/olm/listUserOlms.ts(+6 -3)📝
server/routers/olm/recoverOlmWithFingerprint.ts(+11 -5)📄 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 PR does a number of changes to the fingerprints and posture checking server-side:
How to test?
Fingerprint collection from clients should not change on the client side, just their handling on the server side.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.