]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: ssh-agent: record failed session-bind attempts
authordjm@openbsd.org <djm@openbsd.org>
Mon, 18 Dec 2023 14:48:08 +0000 (14:48 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 18 Dec 2023 14:53:40 +0000 (01:53 +1100)
commit6d51feab157cedf1e7ef5b3f8781ca8ff9c4ab1b
treee7631190f19db44da47e19d092e74bf92e8b14ac
parent7ef3787c84b6b524501211b11a26c742f829af1a
upstream: ssh-agent: record failed session-bind attempts

Record failed attempts to session-bind a connection and refuse signing
operations on that connection henceforth.

Prevents a future situation where we add a new hostkey type that is not
recognised by an older ssh-agent, that consequently causes session-bind
to fail (this situation is only likely to arise when people mix ssh(1)
and ssh-agent(1) of different versions on the same host). Previously,
after such a failure the agent socket would be considered unbound and
not subject to restriction.

Spotted by Jann Horn

OpenBSD-Commit-ID: b0fdd023e920aa4831413f640de4c5307b53552e
ssh-agent.c