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

filter: Add a way to toggle write protection on allowed token #129

Merged
merged 7 commits into from
Feb 27, 2018

Conversation

ueno
Copy link
Member

@ueno ueno commented Feb 5, 2018

This PR makes it possible to mark the token exposed by p11-kit server read-only, by specifying the write-protected query attribute in the URI.

Related to #68.

@coveralls
Copy link

coveralls commented Feb 5, 2018

Coverage Status

Coverage increased (+1.3%) to 80.212% when pulling 4203e31 on ueno:wip/dueno/write-protected-filter into 975f2cc on p11-glue:master.

@ueno ueno force-pushed the wip/dueno/write-protected-filter branch 10 times, most recently from d90b6b0 to 0561bc4 Compare February 27, 2018 04:14
@ueno ueno force-pushed the wip/dueno/write-protected-filter branch 9 times, most recently from c0dd93c to e96924f Compare February 27, 2018 08:16
ueno added 3 commits February 27, 2018 10:08
The test spawns a process running the server command and connects to
it through p11-kit-client.so.  It's is a bit tricky that the child
process requires to preload libasan.so when ASan is in in effect, to
properly load a mock module.
@ueno ueno force-pushed the wip/dueno/write-protected-filter branch from e96924f to 4203e31 Compare February 27, 2018 09:12
@ueno ueno merged commit fb8bf5a into p11-glue:master Feb 27, 2018
@ueno ueno deleted the wip/dueno/write-protected-filter branch February 27, 2018 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants