Skip to content

feat(classifier): recognise yubikey-agent PIV SSH touches - #14

Draft
Talgarr wants to merge 3 commits into
mainfrom
add-rule-yubikey-agent
Draft

feat(classifier): recognise yubikey-agent PIV SSH touches#14
Talgarr wants to merge 3 commits into
mainfrom
add-rule-yubikey-agent

Conversation

@Talgarr

@Talgarr Talgarr commented Jun 23, 2026

Copy link
Copy Markdown
Owner

yubikey-agent is a standalone PIV ssh-agent. The requesting ssh client talks to it over a UNIX socket, so it is not an ancestor in the touch process tree and the generic SSH rule misses it; this dedicated rule names the agent directly.

@Talgarr
Talgarr force-pushed the add-rule-yubikey-agent branch from bf8f061 to 690f1d7 Compare June 25, 2026 16:29
Talgarr and others added 3 commits June 25, 2026 12:44
yubikey-agent is a standalone PIV ssh-agent. The requesting ssh client
talks to it over a UNIX socket, so it is not an ancestor in the touch
process tree and the generic SSH rule misses it; this dedicated rule
names the agent directly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add an e2e check that starts yubikey-agent on a scratch socket and runs
`ssh-add -T` against the PIV key it serves (the measured touch), asserting
the classifier named `yubikey-agent`; the agent is killed after. Skips when
yubikey-agent is absent or unprovisioned. Register it in the driver and
document it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The yubikey-agent e2e test starts `yubikey-agent`; add it so it lands
on PATH in `nix develop`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Talgarr
Talgarr force-pushed the add-rule-yubikey-agent branch from 690f1d7 to 67040c8 Compare June 25, 2026 16:44
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.

1 participant