Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement kernel keyctl support #84

Merged
merged 8 commits into from
Jan 15, 2025
Merged

Implement kernel keyctl support #84

merged 8 commits into from
Jan 15, 2025

Conversation

Foxboron
Copy link
Owner

Fixes: #74

@Foxboron Foxboron force-pushed the morten/keyring branch 2 times, most recently from f2ab4d3 to 01ce369 Compare January 15, 2025 20:06
Signed-off-by: Morten Linderud <[email protected]>
This is not going to work 100% until we have proper callbacks.

But it works, I guess.

Signed-off-by: Morten Linderud <[email protected]>
As we add signals to ssh-tpm-agent we need to ensure all keyctl calls
are done from the same OS thread.

ThreadKeyring proxies all keyring call to the same goroutine and ensures
we don't loose possession of the keyring.

Signed-off-by: Morten Linderud <[email protected]>
@Foxboron Foxboron merged commit 4aba3de into master Jan 15, 2025
7 of 8 checks passed
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.

PIN cache should use the kernel keyring
1 participant