refactor: migrate project to C++20 and improve client security#51
refactor: migrate project to C++20 and improve client security#51officialchristheg wants to merge 4 commits intoKeyAuth:mainfrom
Conversation
officialchristheg
commented
Oct 29, 2025
- change project standard to C++20
- add CProtection API
- replace Sleep() with std::this_thread::sleep_for()
- refactor get_hwid() to syscall functions
- general code cleanup
- change project standard to C++20 - add CProtection API - replace Sleep() with std::this_thread::sleep_for() - refactor get_hwid() to syscall functions - general code cleanup"
|
The KeyAuth owner has been notified of your pull request. Please wait for him to review it. This could take several days. |
There was a problem hiding this comment.
Copilot reviewed 29 out of 30 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
protection/protection.cpp:1
- Corrected spelling of 'secruity' to 'security'.
#pragma once
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
auth.cpp
Outdated
| } | ||
|
|
||
| void checkFiles() { | ||
| // who is fucking calling exit and fastfail |
There was a problem hiding this comment.
Unprofessional comment language should be removed or rephrased. Comments should maintain a professional tone in production code.
| // who is fucking calling exit and fastfail |
auth.cpp
Outdated
|
|
||
| void KeyAuth::api::log(std::string message) { | ||
| checkInit(); | ||
| checkInit(); // why call when ppl can nop it, programm will fail if its 0 |
There was a problem hiding this comment.
Corrected spelling of 'programm' to 'program'.
| checkInit(); // why call when ppl can nop it, programm will fail if its 0 | |
| checkInit(); // why call when ppl can nop it, program will fail if its 0 |
|
@copilot open a new pull request to apply changes based on the comments in this thread |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@copilot open a new pull request to apply changes based on the comments in this thread |
|
lowk making me crazy |