Skip to content

Agent binding#226

Merged
kruton merged 14 commits into
connectbot:mainfrom
kruton:agent-binding
Jul 21, 2026
Merged

Agent binding#226
kruton merged 14 commits into
connectbot:mainfrom
kruton:agent-binding

Conversation

@kruton

@kruton kruton commented Jul 21, 2026

Copy link
Copy Markdown
Member

No description provided.

kruton added 14 commits July 20, 2026 23:26
Validate constrained signing requests against the latest verified session
ID and host key. Track binding direction, reject signing on forwarding-
only bindings, prevent extending finalized authentication bindings, and
deny constrained signing after failed bind attempts.

Add regression coverage for mismatched sessions, host keys, and invalid
binding sequences.

Thanks to @sondt99 for reporting this.
Try to encapsulate the state machine a bit more to make sure other classes
cannot change the state machine without a valid event going in.

This makes it a bit easier to reason about and write some analysis code about.
@kruton
kruton enabled auto-merge (rebase) July 21, 2026 06:28
Comment thread sshlib/src/main/kotlin/org/connectbot/sshlib/crypto/Pkcs8Encryption.kt Dismissed
@kruton
kruton merged commit 32db441 into connectbot:main Jul 21, 2026
10 of 11 checks passed
@kruton
kruton deleted the agent-binding branch July 21, 2026 06:36
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