-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(api-keys): move from encrypted to hashed api key
- Loading branch information
1 parent
16ab555
commit 471748e
Showing
5 changed files
with
71 additions
and
8 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...c3e0d47b8795823a8676a7588e4ed9d03108.json → ...22456b1025b26b1d3ee5fcc4b51b16f59c4f.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...0dec28654d37c9812ddd7a6245cf26cf64ec.json → ...a94dc74d493856497ed2e4f6cd140d51eab8.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
...pi-keys/.sqlx/query-89a4ce6e68b5a8ee259effe93c1cc4975977cf0220c7fad78e53c8ea6c08afce.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
core/api-keys/migrations/20240112183422_add_hashed_key_to_identity_api_keys.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE identity_api_keys | ||
ADD COLUMN hashed_key BYTEA UNIQUE DEFAULT gen_random_bytes(256); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters