Skip to content

Refactor: Use SHA256 hash for registry keys related to file paths #17381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

seer-by-sentry[bot]
Copy link
Contributor

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. Verified that registry key creation no longer fails when using long file paths.
  2. Confirmed that LayoutPreferencesDatabase and FileTagsDatabase now use SHA256 hashes of file paths as registry subkeys.
  3. Ensured that file layout preferences and file tags are correctly saved and retrieved after the change.
  4. Tested with files having special characters in their paths to ensure compatibility.
  5. Compared registry entries before and after the change to verify the use of SHA256 hashes.

@yaira2 yaira2 closed this Jul 31, 2025
@yaira2 yaira2 deleted the seer/refactor-sha256-registry-keys branch July 31, 2025 15:47
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.

1 participant