Skip to content

Add callbacks for additional channel requests. - #1146

Closed
blueshiftlabs wants to merge 1 commit into
wolfSSL:masterfrom
blueshiftlabs:extra-channel-requests
Closed

Add callbacks for additional channel requests.#1146
blueshiftlabs wants to merge 1 commit into
wolfSSL:masterfrom
blueshiftlabs:extra-channel-requests

Conversation

@blueshiftlabs

Copy link
Copy Markdown

This adds and wires up callbacks for the following channel requests:

  • "signal" (RFC 4254 sec. 6.9)
  • "break" (RFC 4335; triggerable in openSSH client using ~B escape)
  • "env" (previously supported, but with no callback)

In addition, expands unit tests to cover these newly-added callbacks, the previously-untested "subsystem" channel request, and adds extra verification that the proper callback is actually called.

This adds and wires up callbacks for the following channel
requests:

- "signal" (RFC 4254 sec. 6.9)
- "break" (RFC 4335; triggerable in openSSH client using ~B escape)
- "env" (previously supported, but with no callback)

In addition, expands unit tests to cover these newly-added callbacks,
the previously-untested "subsystem" channel request, and adds extra
verification that the proper callback is actually called.
@wolfSSL-Bot

Copy link
Copy Markdown

Can one of the admins verify this patch?

@dgarske

dgarske commented Aug 6, 2026

Copy link
Copy Markdown
Member

Hi @blueshiftlabs , thank you for this code contribution. I've asked @ejohnstown to look this over (he's the primary maintainer). Can you tell us more about your project and use of wolfSSH? In order to accept this we need a signed contributor agreement. To get that setup please email support@wolfssl.com and provide your location and details about your project.
Thanks, David Garske, wolfSSL

@blueshiftlabs

Copy link
Copy Markdown
Author

Hi David,

My employer doesn't allow signing commercial CLAs, so I'll have to withdraw this pull request. If you have non-standard requirements for contributing code, could you please detail them in a CONTRIBUTING.md file in the repo so people know in advance?

Thanks,

@blueshiftlabs

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.

4 participants