Skip to content

Conversation

@davidv1992
Copy link
Contributor

Builds on the work in #85, uses the design from #81

@davidv1992 davidv1992 force-pushed the service-ssh-userauth branch from 074bf79 to fd50019 Compare January 16, 2026 14:16
mod proto;
use proto::{read, Decode, Decoded, Encode, ReadState};
mod service;
mod userauth;
Copy link
Owner

Choose a reason for hiding this comment

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

Nit: should be called user_auth.

Error,
};

pub(crate) struct SshUserauth {
Copy link
Owner

Choose a reason for hiding this comment

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

Nit: drop the Ssh prefix, spell as UserAuth.

}

#[expect(unused)]
pub(crate) fn poll_complete<S: Service>(
Copy link
Owner

Choose a reason for hiding this comment

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

Why the callback design?

}
}

impl Service for SshUserauth {
Copy link
Owner

Choose a reason for hiding this comment

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

I think there is too much stuff in this commit, suggest splitting it up into smaller steps.

@davidv1992 davidv1992 force-pushed the service-ssh-userauth branch from fd50019 to 322d058 Compare January 19, 2026 09:44
@bjorn3 bjorn3 force-pushed the service-ssh-userauth branch 3 times, most recently from 83873ae to 27d523f Compare January 20, 2026 13:46
davidv1992 and others added 6 commits January 20, 2026 16:17
This does not yet implement proper handling of sequence numbers. That is
a fairly significant refactor which should be done as part of the
patches for the encryption/decryption channels.
This makes the packet type available on all messages, simplifying error
handling downstream as it no longer needs to deal with the anomalous
case of a completely empty packet.
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.

3 participants