Create a simple to use wrapper on top of OpenSSL #11581
Replies: 11 comments
-
I think down the track we should use SChannel for windows and OpenSSL for nix. What do you think? Would be good not to have dependency on OpenSSL when on windows. |
Beta Was this translation helpful? Give feedback.
-
Yes, ideally. But it's incredibly complex. And the documentation is terrible. I personally wouldn't even know how to approach it. If there's someone with SChannel experience, who could help, that would be great. |
Beta Was this translation helpful? Give feedback.
-
Doesn't GO have their own implementation? I think they don't use OpenSSL or SChannel, if I remember correctly they wrote it from scratch (I may be wrong). If they did, maybe that could be ported to V? |
Beta Was this translation helpful? Give feedback.
-
They have their own implementation, it uses a lot of Go assembly, so it's not portable. It's also slower and less tested than OpenSSL. |
Beta Was this translation helpful? Give feedback.
-
We should take example from here: https://github.com/sfackler/rust-native-tls |
Beta Was this translation helpful? Give feedback.
-
OpenSSL is an option?: #307 |
Beta Was this translation helpful? Give feedback.
-
For anyone familiar with the Ruby/Crystal syntax this could be a good reference for creating OpenSSL bindings. I may take a crack at this myself. |
Beta Was this translation helpful? Give feedback.
-
It would be really nice if at some stage we didn't have openssl as a dependency on win.
I know it would be a lot of tedious work, but it would be nice |
Beta Was this translation helpful? Give feedback.
-
Absolutely, I'm all for having as few dependencies as possible. |
Beta Was this translation helpful? Give feedback.
-
This was implemented way back by @joe-conigliaro |
Beta Was this translation helpful? Give feedback.
-
Sorry I misread the issue, the openssl wrapper is still not implemented. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions