Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Sep 5, 2024

As we are using this hash as ID, it makes it more reliable than the current md5 hash we are using.

@artonge artonge added enhancement 3. to review Waiting for reviews php Pull requests that update Php code labels Sep 5, 2024
@artonge artonge added this to the Nextcloud 31 milestone Sep 5, 2024
@artonge artonge self-assigned this Sep 5, 2024
@artonge
Copy link
Contributor Author

artonge commented Sep 5, 2024

/backport to stable30

@artonge
Copy link
Contributor Author

artonge commented Sep 5, 2024

/backport to stable29

@artonge
Copy link
Contributor Author

artonge commented Sep 5, 2024

/backport to stable28

@artonge artonge force-pushed the artonge/fix/use_sha256_for_arguments_hash_forbg_jobs branch from b09b8d1 to 0460f00 Compare September 5, 2024 11:41
@artonge artonge force-pushed the artonge/fix/use_sha256_for_arguments_hash_forbg_jobs branch from 0460f00 to dc2d4d6 Compare September 5, 2024 12:46
This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database.

Signed-off-by: Louis Chemineau <[email protected]>
@artonge artonge force-pushed the artonge/fix/use_sha256_for_arguments_hash_forbg_jobs branch from dc2d4d6 to dbf56b6 Compare September 5, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants