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

HTTPS with rewrap timings #3

Merged
merged 3 commits into from
Jul 2, 2024
Merged

HTTPS with rewrap timings #3

merged 3 commits into from
Jul 2, 2024

Conversation

arkavo-com
Copy link
Contributor

@arkavo-com arkavo-com commented Jul 2, 2024

The server has been updated to use HTTPS for secure connection. Two new environment variables have been added for the TLS certificate file and private key file paths. Moreover, the guide in the 'README.md' file is modified to include instructions for generating a self-signed certificate for development purposes. The config is loaded from environment variables, which provide higher levels of security and flexibility.

The timings logs:

[2024-07-02T02:00:18Z INFO  backend_rust] Time to parse header: 2.17µs
[2024-07-02T02:00:18Z INFO  backend_rust] Time for ECDH operation: 240.076µs
[2024-07-02T02:00:18Z INFO  backend_rust] Time for AES-GCM encryption: 1.709µs
[2024-07-02T02:00:18Z INFO  backend_rust] Total time for handle_rewrap: 623.74µs

The server has been updated to use HTTPS for secure connection. Two new environment variables have been added for the TLS certificate file and private key file paths. Moreover, the guide in the 'README.md' file is modified to include instructions for generating a self-signed certificate for development purposes. The config is loaded from environment variables, which provide higher levels of security and flexibility.
The code updates introduce the usage of env_logger and log libraries for logging in the application. This helps in making debugging easier and understanding the application flow better. Moreover, the performance measurement feature is added to measure and log the time taken for various operations. This will be helpful in identifying performance bottlenecks and optimizing the application.
Two new environment variables (ENABLE_TIMING_LOGS and RUST_LOG) have been added to the README.md instructions. These were inserted to refine the project debug process by providing more detailed log information and enabling timing logs.
Copy link

sonarqubecloud bot commented Jul 2, 2024

@arkavo-com arkavo-com changed the title Update server to use HTTPS and environment variables for configuration HTTPS and server timings Jul 2, 2024
@arkavo-com arkavo-com changed the title HTTPS and server timings HTTPS with rewrap server timings Jul 2, 2024
@arkavo-com arkavo-com marked this pull request as ready for review July 2, 2024 02:10
@arkavo-com arkavo-com changed the title HTTPS with rewrap server timings HTTPS with rewrap timings Jul 2, 2024
@arkavo-com arkavo-com merged commit 4a6176d into main Jul 2, 2024
4 checks passed
@arkavo-com arkavo-com deleted the feature/server-enhancement branch July 2, 2024 22:26
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.

1 participant