mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 00:39:38 +03:00
[PR #1047] [MERGED] fix: use constant time comparisons when validating PKCE challenges #1033
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/pocket-id/pocket-id/pull/1047
Author: @ItalyPaleAle
Created: 10/24/2025
Status: ✅ Merged
Merged: 10/24/2025
Merged by: @stonith404
Base:
main← Head:pkce-constant-time📝 Commits (1)
9af6455fix: use constant time comparisons when validating PKCE challenges📊 Changes
2 files changed (+39 additions, -7 deletions)
View changed files
📝
backend/internal/service/oidc_service.go(+12 -7)📝
backend/internal/service/oidc_service_test.go(+27 -0)📄 Description
This fixes a small potential timing attack
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.