Morten Linderud
Morten Linderud
It was originally brought up in this PR. But as everything is passing on my end I didn't quite grok if it was an actual issue or not. https://github.com/Foxboron/ssh-tpm-agent/pull/91
See: https://github.com/Foxboron/ssh-tpm-agent/pull/94#issuecomment-2932568075 You need to install the proper helpers for the test suite to run. Turns out this is not an upstream issue.
Closing this as this is not an `ssh-tpm-agent` issue.
Seems like the Golang agent implementation ignores this. https://github.com/golang/crypto/blob/44ecf3af9978b32529ce689a6964bd557c79aa1c/ssh/agent/server.go#L76 So gotta patch upstream I think? Can see if I can submit a patch or work around this.
Drafted an upstream change to support this: https://github.com/golang/crypto/pull/332
Honestly I wanted to mimic the behaviour of stock `ssh-agent` where you can daemonize the process and just get the env variables back. But I don't *quite* recall why i...
> Is this intended? Yes and no. The currently implementation works this way, and it's the intended way for this to work. However you can create a parent that would...
Thhheeeennn I guess I never wrote that code 🙃
I suspect I'll write up something that solves this when I get a tiny bit of motivation. `ssh-tpm-keygen` could be a tiny bit more clever when it comes to the...
Cool, this looks good to me