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

Allow filtering of tokens exposed by proxy module #122

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

Conversation

ueno
Copy link
Member

@ueno ueno commented Jan 18, 2018

This is a proof-of-concept implementation of #113:

  • add two options in the global configuration file (/etc/pkcs11/pkcs11.conf), which takes a list of allowed/disallowed token URIs: allow-tokens and deny-tokens
  • enable p11-kit-proxy.so to switch configuration profile through the P11_KIT_PROXY_CONFIG envvar

This patch adds two new global options: allow-tokens and deny-tokens.
Those options take a comma separated list of PKCS p11-glue#11 URI of tokens,
either to be allowed or disallowed.
That is, by specifying the P11_KIT_PROXY_CONFIG envvar, user could
apply different global settings for the proxy, e.g., allow-tokens and
deny-tokens.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 77.266% when pulling 7d4b8af on ueno:wip/dueno/filter-config into 031d3c7 on p11-glue:master.

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.

2 participants