Skip to content

Conversation

@wraitii
Copy link
Member

@wraitii wraitii commented Jun 11, 2025

No description provided.

@wraitii wraitii requested a review from Copilot June 11, 2025 13:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the handling of invite codes so that sensitive invite codes are not used directly but are instead hashed before use.

  • Update invite code hashing in both production and mock invite modules in Rust
  • Adjust invite code processing in the PasswordAuthProvider in TypeScript
  • Bump package versions in hyli-wallet and front, and update documentation comments in the contracts

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
server/src/invites/invite.rs Refactored invite data to hash the invite code combined with wallet info
hyli-wallet/src/providers/PasswordAuthProvider.ts Hashed the invite code (concatenated with username) before registration
hyli-wallet/package.json Version bump to 0.3.4
front/package.json Dependency update for hyli-wallet version
contracts/wallet/src/lib.rs Updated comments explaining that the invite code is hashed in prod

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.

2 participants