feat: replace user ID obfuscation with SHA-256 hashing for enhanced security#1516
Open
polatengin wants to merge 1 commit into
Open
feat: replace user ID obfuscation with SHA-256 hashing for enhanced security#1516polatengin wants to merge 1 commit into
polatengin wants to merge 1 commit into
Conversation
Collaborator
polatengin
commented
Jan 24, 2026
- Implemented hashUserId function to hash user IDs with board-specific salt using SHA-256.
- Updated all components and services to use hashed user IDs instead of obfuscated ones.
- Modified tests to reflect changes in user ID handling.
- Deprecated obfuscateUserId and deobfuscateUserId functions for backward compatibility.
- Added new cryptoHelper functions for secure hashing and token generation.
…ecurity - Implemented hashUserId function to hash user IDs with board-specific salt using SHA-256. - Updated all components and services to use hashed user IDs instead of obfuscated ones. - Modified tests to reflect changes in user ID handling. - Deprecated obfuscateUserId and deobfuscateUserId functions for backward compatibility. - Added new cryptoHelper functions for secure hashing and token generation.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1516 +/- ##
===========================================
- Coverage 100.00% 99.98% -0.02%
===========================================
Files 59 60 +1
Lines 4999 5030 +31
Branches 1284 1292 +8
===========================================
+ Hits 4999 5029 +30
- Misses 0 1 +1
🚀 New features to boost your workflow:
|
Bundle ReportChanges will increase total bundle size by 468 bytes (0.04%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: retrospective-extension-webpack-bundle-array-pushAssets Changed:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.