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

Add packets for caching_sha2_password public key retrieval #119

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

Will-Low
Copy link
Contributor

@Will-Low Will-Low commented Jan 3, 2024

Situation

We were trying to parse packets associated with public key requests/responses when usingcaching_sha2_password authentication. However, we don't believe that these packet types exist yet.

Target

Allow packet parsing of public key requests and responses for caching_sha2_password authentication.

Proposal

  1. Create a new module to house details specific to caching_sha2_password authentication. We have a subsequent addition that is also caching_sha2_password-specific.
  2. Introduce a packet to represent a public-key request for caching_sha2_password. Note that while this is similar to the one used for sha256_password, it has a different packet identifier.
  3. Introduce a packet to represent a public-key response. This is shared between both caching_sha2_password and sha256_password, so it is excluded from the caching_sha2_password module.

@Will-Low Will-Low changed the title Add packets for caching_sha2_password public key retrieval Add packets for caching_sha2_password public key retrieval Jan 3, 2024
src/packets/mod.rs Outdated Show resolved Hide resolved
@blackbeam blackbeam merged commit a895b5b into blackbeam:master Jan 12, 2024
1 check passed
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