Support libressl
I try to use wsta within docker alpine. For that I installed libssl1.0 as it is required.
But if I try to use it I get
wsta: /usr/lib/libssl.so.1.0.0: no version information available (required by wsta)
wsta: /usr/lib/libcrypto.so.1.0.0: no version information available (required by wsta)
wsta: Relink `/lib/libz.so.1' with `/usr/glibc-compat/lib/libc.so.6' for IFUNC symbol `memset'
Do you know any solution to this? Thanks.
Doesn't alpine use libressl? Tried to make that work before, but to no avail, so it only supports openssl for now
The libressl not working thing is mostly because rust-openssl didnt support it. It does now, but that was only introduced at version 0.9.4, and wsta currently uses 0.7.14.
Updating dependencies should therefore make it work for libressl. A lot of things have happened in the dependency world since then, however, and it will probably require a bit of work to make it happen.
I wouldn't know how to help you. I need a cli websocket utility which works with alpine. :/
Thanks for your effort.
Try wscat. It should work if you have node installed. I guess you also could run wsta from a container
I compared a lot and there is no real contender for wsta right now. I switched to debian:jessie for now an wait in hope that wsta will work within alpine someday. :+1:
I had a look around again. Currently, I do something like this:
# Redirect stdout ( > ) into a named pipe ( >() )
exec > >(wsta -H "authorization: $(cat /run/secrets/authorization)" "${WSS}")
I can not do this with any other library.
I'll get back to this eventually, right now I'm mostly focused on the RESTED project. I would merge a PR if anyone else would like to fix this in the mean time