-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/client #16
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
Feat/client #16
Conversation
There was a problem hiding this 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 client to use a standardized Id property, adds a Name field, strengthens RSA-based connection setup, and introduces basic in-memory and SQLite-backed user registries.
- Renames
idtoId, makesRsaPubpublic, and addsNameonClient. - Refactors
EstablishConnection/RecieveConnectionto exchange an RSA-encrypted key. - Adds a simple
Databaseclass and updates the EF model and SQLite context to store usernames.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| sutor-aes/Client.cs | Renamed properties, added Name, updated RSA key exchange logic, and appended an in-memory Database class. |
| Models/DBmodels.cs | Added Name property with unique index on DBUser. |
| Database/SQLite.cs | Updated RegisterUser to accept username and set the new Name field. |
Comments suppressed due to low confidence (1)
sutor-aes/Client.cs:12
- [nitpick] The public property
RsaPubis abbreviated; for clarity and consistency, consider renaming it toRsaPublicKey.
public byte[] RsaPub { get; set; }
No description provided.