Commit Graph
35 Commits
Author SHA1 Message Date
André Duffeck 2b77cb9a17 Bump reva to v3.0.1 2026-11-17 12:45:18 +01:00
Alex Ababii e95ca276d2 feat(guestlinks): handling of SpaceShare unshared and expired events 2026-10-23 09:17:16 +02:00
Alex Ababii a189c79d48 feat(guestlinks): upd SpaceShared event handling 2026-10-23 09:17:16 +02:00
Alex Ababii 281f18e9fb feat(guestauth): handling space shared event 2026-10-19 13:40:07 +02:00
Alex Ababii 2425b7e2ff feat(guestauth): consume space shared event 2026-10-19 12:43:52 +02:00
André Duffeck b7fd066c5f Keep the newest guest link while it can still be redeemed
Renewals without a valid session only need the share id, so they no longer cancel a link the guest hasn't used yet.
2026-10-16 13:07:38 +02:00
André Duffeck 564e1c0ec7 Rate limit guest link renewals with a valid session separately
Each session renewal issues a PIN with fresh attempts, so without a limit a stolen session could keep guessing. The quota is separate from the one for renewals without a session, so neither can use up the other's.
2026-10-16 13:05:38 +02:00
André Duffeck 60832cc61b Don't issue PINs for renewals with expired guest sessions
An expired session token now counts as no session, so the renewal only rotates the link.
2026-10-16 13:03:36 +02:00
Alex Ababii f6a3ff09d8 feat(authguest): fixed tests after rebase 2026-10-16 10:34:34 +02:00
Alex Ababii e931d1ab25 feat(auhguest): upd renew quota limiting logic 2026-10-16 10:07:22 +02:00
Alex Ababii 7a7f43f889 feat(authguest): fix the renew sessionValid condition 2026-10-16 10:07:22 +02:00
Alex Ababii 7eac7db12c feat(authguest): upd renewal flow to rely on sessionToken 2026-10-16 10:07:22 +02:00
Alex Ababii dc59c536da feat(authguest): upd error mappings 2026-10-16 10:07:22 +02:00
Alex Ababii ddf388a058 feat(authguest): nonce and pin ttl are now using the same value 2026-10-16 10:07:22 +02:00
Alex Ababii fd25c8c88d feat(authguest): removed session token verification on renew endpoint 2026-10-16 10:07:21 +02:00
Alex Ababii 6e6330f68c feat(authguest): upd readme 2026-10-16 10:01:56 +02:00
Alex Ababii d8ab8dc7ee feat(authguest): extracted restrict access logic into separate package, backoff and quota limiters 2026-10-16 10:01:55 +02:00
Alex Ababii 42a411c11a feat(authguest): nonce check for verifyPin call 2026-10-16 09:59:28 +02:00
Alex Ababii 985c39de1f feat(authguest): basica data structs and config for rate limiting 2026-10-16 09:32:46 +02:00
André Duffeck a230d7e193 Return ExpiresAt when issueing a session token 2026-10-15 10:34:00 +02:00
Alex Ababii 62f2125865 feat(authguest): renamed redeem to verify/token 2026-10-13 09:30:52 +02:00
Alex Ababii d6b5f815ef feat(authguest): removed stale comment after rebase 2026-10-13 09:30:52 +02:00
Alex Ababii b266546a45 feat(authguest): upd renewal logic to verify token and session, storage has now revisions 2026-10-13 09:30:52 +02:00
Alex Ababii 5b7fd47e8e feat(authguest): moved redeem from storage layer to service layer 2026-10-13 09:30:52 +02:00
Alex Ababii 46dce34dd6 feat(authguest): atomic verify pin, rollback mechanism for renew 2026-10-13 09:30:52 +02:00
Alex Ababii 7a2639128d feat(authguest): verify pin endpoint 2026-10-13 09:30:52 +02:00
Alex Ababii a51f79505d feat(authguest): renewal logic and publishing event 2026-10-13 09:30:52 +02:00
Alex Ababii d40bdf6ecf feat(authguest): pin logic and filemanager upd 2026-10-13 09:30:52 +02:00
Alex Ababii 8e39386c60 feat(authguest): added renew endpoint with basic handling 2026-10-13 09:30:51 +02:00
André Duffeck 7f7da7f583 Use subtle to compare the hash 2026-10-06 09:52:02 +02:00
André Duffeck e8c78f496d Do not leak information about tokens in errors 2026-10-06 09:52:02 +02:00
Alex Ababii 2c898250a9 feat(guestauth): upd file manager lock, addtional filetrs for shareExpired and shareRemoved events, common config loading fix 2026-10-06 08:08:28 +02:00
Alex Ababii c5879ca1b2 feat(guestauth): renaming guest ivitations to guest links for consistency with libre-graph-api 2026-10-06 08:08:28 +02:00
Alex Ababii 340851de70 feat(guestauth): updated redeem endpoint response and dependencies 2026-10-06 08:07:44 +02:00
Alex Ababii cbf3ee8c0b feat(guestauth): guestauth service rename to auth-guest 2026-10-06 08:07:44 +02:00