Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Authors
* Andreas Rammhold - https://github.com/andir
* Nicholas Bunn - https://github.com/NicholasBunn
* Nathan McDougall - https://github.com/nathanjmcdougall
* Oleksandr Zaiats - https://github.com/z4y4ts
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ latest
* Improve contribution experience for Windows developers using Just.
* Tweak Just commands for running version-specific Python tests.
* Remove `typing-extensions` as a dependency.
* Make package FIPS compatible by marking blake2 hashing with `usedforsecurity=False`.

3.14 (2025-12-10)
-----------------
Expand Down
4 changes: 3 additions & 1 deletion src/grimp/adaptors/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def make_data_file_name(
# Use a hash algorithm with a limited size to avoid cache filenames that are too long
# the filesystem, which can happen if there are more than a few root packages
# being analyzed.
safe_unicode_identifier = hashlib.blake2b(bytes_identifier, digest_size=20).hexdigest()
safe_unicode_identifier = hashlib.blake2b(
bytes_identifier, digest_size=20, usedforsecurity=False
).hexdigest()
return f"{safe_unicode_identifier}.data.json"

@classmethod
Expand Down
Loading