Skip to content
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

Client-side checksum validation of the server #14

Open
2 tasks
KjetilIN opened this issue Jan 9, 2025 · 0 comments
Open
2 tasks

Client-side checksum validation of the server #14

KjetilIN opened this issue Jan 9, 2025 · 0 comments

Comments

@KjetilIN
Copy link
Owner

KjetilIN commented Jan 9, 2025

What?

As a client, you still have little control. But if you would be able to validate that the server is using the newest version.
An idea to improve this:

  • Add option in config to validate the checksum of the server
  • Use the github repos newest version to checksum validate that the server that i am connecting to is the newest version of this repo.

The option is already added, but the checksum logic is not created (src/client/main.rs):

// Check if we are asked to validate the server checksum
    if client_config.get_validate_server() {
        // TODO: implement checksum validation of server repo
        if let Ok(mut ui) = terminal_ui.lock() {
            ui.add_message(format!(
                "{} Validating server repo not implemented!",
                *WARNING_LOG
            ));
        }
    }
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

No branches or pull requests

1 participant