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

Per-slot configuration #727

Open
ueno opened this issue Oct 17, 2023 · 0 comments
Open

Per-slot configuration #727

ueno opened this issue Oct 17, 2023 · 0 comments

Comments

@ueno
Copy link

ueno commented Oct 17, 2023

For testing profile objects support in client applications, it would be useful to have a configuration option, say slots.profiles = CKP_PUBLIC_CERTIFICATES_TOKEN in softhsm2.conf. The current configuration file format, however, doesn't allow per-token settings and such option would apply to all tokens provided by the module.

What would you say to adding a means to specify options to a particular token, something like .gitconfig format?

log.level = INFO

[slot "label1"]
slots.profiles = CKP_PUBLIC_CERTIFICATES_TOKEN
slots.removable = true

[slot "label2"]
slots.profiles = CKP_AUTHENTICATION_TOKEN
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

No branches or pull requests

1 participant