Skip to content

feat(preshared_key): increase post quantum robustness by providing a preshared key for wg connection#34

Merged
esterlus merged 13 commits intomainfrom
este/update
Feb 5, 2026
Merged

feat(preshared_key): increase post quantum robustness by providing a preshared key for wg connection#34
esterlus merged 13 commits intomainfrom
este/update

Conversation

@esterlus
Copy link
Contributor

@esterlus esterlus commented Feb 4, 2026

feat(status): status check now returns load averages and nprocs alongside usage stats
chore(deps): update to latest tooling and deps

@esterlus esterlus requested a review from Copilot February 4, 2026 23:29
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 enhances WireGuard security by implementing preshared keys for post-quantum robustness, expands status monitoring to include system load metrics, and updates project dependencies.

Changes:

  • Implemented preshared key generation and configuration for WireGuard peers
  • Extended status endpoint to report load averages (1, 5, 15 minutes) and processor count
  • Updated Rust toolchain from 1.91 to 1.93 and dependencies (toml 0.8→0.9, nixfmt package)

Reviewed changes

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

Show a summary per file
File Description
src/wg/show.rs Updated test data to include preshared keys and added assertions for preshared key validation
src/wg/set.rs Modified add_peer to generate preshared keys, write them to temporary files, and return the key value
src/status.rs Added load average and nproc metrics collection via /proc/loadavg and nproc command
src/register.rs Updated registration flow to include preshared key in response
rust-toolchain.toml Bumped Rust toolchain version to 1.93
flake.nix Updated Nix formatter package reference and reformatted attribute sets
Cargo.toml Bumped version to 0.3.0 and updated toml dependency to 0.9

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@esterlus esterlus merged commit be2830f into main Feb 5, 2026
4 checks passed
@esterlus esterlus deleted the este/update branch February 5, 2026 09:21
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