Skip to content

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 <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>
Signed-off-by: Morten Linderud <morten@linderud.pw>
@Foxboron Foxboron merged commit 4aba3de into master Jan 15, 2025
7 of 8 checks passed
@Foxboron Foxboron deleted the morten/keyring branch March 2, 2025 22:00
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