Skip to content

Extensions not handled properly #1

@reynir

Description

@reynir

It seems responses to SSH_AGENTC_EXTENSION can use SSH_AGENT_SUCCESS with data. For example, the query extension returns a list of ssh-wire strings of supported extensions after the SSH_AGENT_SUCCESS tag.

It is a bit unclear how extension responses work - presumably it is SSH_AGENT_SUCCESS followed by any number of bytes that are then interpreted according to the specific extension. Another Ssh_agent_extension_success of string-ish constructor should be added to reflect this special case, and the ssh_agent_message parser should be parameterized with whether the request was an extension request or not (sadly).

I have not been able to find any existing code that handles extensions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions