Skip to content

Conversation

@SilianZ
Copy link
Member

@SilianZ SilianZ commented Apr 12, 2024

No description provided.

cur_time = int(time.time() * 1000.0) + 600
e = utils.base36_encode(cur_time)
s = hashlib.sha1()
s.update(CLUSTER_SECERT.encode("utf-8"))

Check failure

Code scanning / CodeQL

Use of a broken or weak cryptographic hashing algorithm on sensitive data

[Sensitive data (certificate)](1) is used in a hashing algorithm (SHA1) that is insecure. [Sensitive data (secret)](2) is used in a hashing algorithm (SHA1) that is insecure.
@SilianZ SilianZ merged commit 0414701 into master Apr 12, 2024
@SilianZ SilianZ deleted the dev/storage branch April 12, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants