Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start using hashes for API keys & AccessTokens #298

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

dobrac
Copy link
Contributor

@dobrac dobrac commented Feb 14, 2025

(includes changes from #295)

Changes

  • Use hashes for API Keys & Access Tokens authentication
  • Migration for creating hashes of existing API Keys & Access Tokens (needs to be run before merging)

Migration
The migration happens only in the DB. It will create hashing and masking functions, and then apply them on the tables. Only not yet hashed API Keys and Access Tokens will be updated, no other fields than the hash and mask should be touched.

@dobrac dobrac added improvement Improvement for current functionality feature New feature labels Feb 14, 2025
@dobrac dobrac self-assigned this Feb 14, 2025
Copy link

linear bot commented Feb 14, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature improvement Improvement for current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant