Skip to content

Remove server/client ID handshake in favor of public-key-based sender ID assignment in stoffelnet#28

Draft
gabearro wants to merge 1 commit intomainfrom
upgrade-networking
Draft

Remove server/client ID handshake in favor of public-key-based sender ID assignment in stoffelnet#28
gabearro wants to merge 1 commit intomainfrom
upgrade-networking

Conversation

@gabearro
Copy link
Contributor

No description provided.

… ID assignment in `stoffelnet`

- Updated `connect_as_server` and `connect_as_client` to remove the need for explicit ID parameters.
- Introduced `assign_sender_ids` to assign sender IDs post connection establishment.
- Refactored network and QUIC peer logic to align with `stoffelnet` public key-based ID handling.
- Replaced outdated role-based handshake with ALPN-based identity exchange from `stoffelnet`.
@gabearro gabearro requested a review from Mikerah January 30, 2026 15:42
@gabearro gabearro self-assigned this Jan 30, 2026
@gecko-security
Copy link

This repository is currently set to inactive in Gecko Security. To enable automated security scanning for pull requests, please activate it in your Gecko Security dashboard.

connections.len()
);

// Assign sender IDs to all connections based on public key ordering.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there not a way to automatically check this when calling this function?

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