-
Notifications
You must be signed in to change notification settings - Fork 98
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
trust: Prevent trust module being loaded by proxy module #142
Conversation
cc36198
to
9ddd1b8
Compare
p11_kit_iter_add_filter() takes the ownership of given attributes. Spotted by address sanitizer.
Otherwise, when the proxy module were registerd in NSS database, the trust module would be loaded twice and degrade search performance.
Currently it only checks that "disable-in: p11-kit-proxy" properly prevents the trust module being loaded by the proxy module.
9ddd1b8
to
a31f8de
Compare
.travis.yml
Outdated
@@ -22,26 +22,34 @@ before_install: | |||
- docker exec $CONTAINER dnf -y install libasan libubsan | |||
- docker exec $CONTAINER dnf -y install clang-analyzer | |||
- docker exec $CONTAINER dnf -y install mingw64-gcc mingw64-libffi mingw64-libtasn1 wine | |||
- docker exec $CONTAINER dnf -y install opensc openssl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not all installations are done at the same time? wouldn't it make them faster?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point; I arranged the dnf install
invocation in 05c257e.
Thank you for the review! |
How is the trust module otherwise loaded? It it automatically loaded by some other mechanism, or are users expected to register it explicitly in the nssdb separate from the proxy module (which is automatically registered.) |
Otherwise, when the proxy module were registered in NSS database, the
trust module would be loaded twice and affect search performance.