Skip to content

Commit

Permalink
API Key Creation & Management
Browse files Browse the repository at this point in the history
Added functionality for superusers and users to create and manage API keys, with Knox integration for secure key hashing.
  • Loading branch information
ygalnezri authored Jul 23, 2024
1 parent 6bdd2f6 commit 755ab31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Watcher/Watcher/watcher/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
}

REST_KNOX = {
'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA3_512',
'SECURE_HASH_ALGORITHM': 'hashlib.SHA3_512',
'TOKEN_TTL': timedelta(hours=10),
}

Expand Down

0 comments on commit 755ab31

Please sign in to comment.