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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Implement kernel keyctl support #84

wants to merge 7 commits into from

Conversation

Foxboron
Copy link
Owner

Fixes: #74

Signed-off-by: Morten Linderud <morten@linderud.pw>
This is not going to work 100% until we have proper callbacks.

But it works, I guess.

Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
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 <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
Signed-off-by: Morten Linderud <morten@linderud.pw>
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