-
-
Notifications
You must be signed in to change notification settings - Fork 34
Add support for DER encoded x509 certificate #86
Conversation
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.
This change looks great, thanks. Just a couple of small nits. Would you mind creating a version of this against the master
branch (for Vapor 4)?
@tanner0101 Thanks for the feedback! And yes, I'll create a version of this against the |
The |
98cc515
to
1d3094f
Compare
@tanner0101 Again, thank you for the feedback! The things you mentioned are fixed. |
@tanner0101 I opened one more pull request #89 as well, with this functionality but adapted for Vapor 4, against the master branch. |
Thanks! |
@tanner0101 It seems to me that this merge causes a build error on Linux when using Swift >= 5.0 and since Vapor 3 is using the latest version of open-crypto, the Vapor 3 build now also fails on Linux when building with Swift 5. The Linux tests in this branch are still using Swift 4.2, but you can verify the problem by using this Dockerfile instead:
I haven't had a chance to look into a possible fix, yet, but here are the error messages when building with Swift 5:
|
@kevinschlieper ah yeah looks like this PR didn't take OpenSSL 1.1's breaking changes into account. I've pushed a release here that should fix it: https://github.com/vapor/open-crypto/releases/tag/3.4.1 |
@tanner0101 Thanks for the quick fix, Tanner. Everything is working as expected now. |
Fixes #85