I've had trouble downloading a stream due to a bad decrypt error from OpenSSL. It turns out the wrong decrypt key was assembled when doing the faux hexdump of the fetched key file. This in turn was because the crypt key file was fetched as decoded utf8 data, although it's just a series of bytes. I fixed this by making this modification: https://github.com/alimony/hls-fetch/commit/6714efb15fe09efcfc9acb115eb41e7bd3c7abac
Would you be interested in a pull request with this fix?
I've had trouble downloading a stream due to a
bad decrypt
error from OpenSSL. It turns out the wrong decrypt key was assembled when doing the faux hexdump of the fetched key file. This in turn was because the crypt key file was fetched as decoded utf8 data, although it's just a series of bytes. I fixed this by making this modification: https://github.com/alimony/hls-fetch/commit/6714efb15fe09efcfc9acb115eb41e7bd3c7abacWould you be interested in a pull request with this fix?