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

use /run/pki rather than /tmp/pki #342

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaxHearnden
Copy link

This prevents another unprivileged user from creating /tmp/pki and sbctl enrolling those keys instead

I would be open to using another directory, however at the moment key enrollment is not secure.

This prevents another unprivileged user from creating /tmp/pki and sbctl
enrolling those keys instead
@nikstur
Copy link
Member

nikstur commented May 16, 2024

Key enrollment like this isn't secure at all and you most likely shouldn't do it. This hook really is only useful for testing (in a VM!) right now.

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.

None yet

2 participants