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

Make ca parameter in verifySigningChain optional #117

Closed
basbossink opened this issue Apr 5, 2017 · 2 comments
Closed

Make ca parameter in verifySigningChain optional #117

basbossink opened this issue Apr 5, 2017 · 2 comments

Comments

@basbossink
Copy link

When using the verifySigningChain function and leaving the ca parameter undefined, the pem module passes an empty temporary file to openssl in the -CAFile parameter, causing it to report an error. Since the -CAFile parameter is optional it would be nice if the ca parameter of the verifySigningChain function can be left undefined as well.

If interested I would be willing to submit a pull request to implement this enhancement.

@Dexus
Copy link
Owner

Dexus commented Apr 5, 2017

A PR is allways welcome.

@basbossink
Copy link
Author

Nice, I'll try to move this forward. I have adjusted the production code, I still have to fix a number of tests to complete the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants