Skip to content

Commit 79014ce

Browse files
committed
ignore the codeql error - it will be secure d/t entropy and HMAC
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
1 parent 7c28e02 commit 79014ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/managers/api_key.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class ApiKeyManager:
3737
KEY_LENGTH = 32
3838

3939
@staticmethod
40+
# codeql[py/weak-sensitive-data-hashing] See comment below
4041
def _hash_key(key: str) -> str:
4142
"""Hash an API key using HMAC-SHA256.
4243

0 commit comments

Comments
 (0)