Audacious on Windows and certificate validation issues #119
AbraxasDMG
started this conversation in
General
Replies: 2 comments 5 replies
-
A better approach would be making use of the root certificates. It looks like this has to be done manually on Windows. Maybe the code can be adopted for the neon plugin in Audacious? Are you able to give this a try? |
Beta Was this translation helpful? Give feedback.
5 replies
-
If someone would be able to build the dll and share it with me for testing, I'd be able to provide you feedback. Unfortunately, I wasn't able to figure out myself how to create a build environment that would generate windows binaries. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone.
I saw an old issue (#1108) on redmine related to this problem.
Due to inability to validate certificate issuer (or other validation reasons), Audacious is unable to play online streams via https. In cases when the http alternative exists, everything is ok. However, there are a lot of online audio sources that do not provide their media through both, http and https. In such situation, the user is unable to consume the stream.
Would it be possible to allow Windows user to activate an alternative option (it can be set directly in %LOCALAPPDATA%\audacious\config, it doesn't have to have a checkbox in the settings window) to ignore validation issues until a better solution comes?
With a limited knowledge I have, I'd assume that it would be enough to allow setting variable like "validate_certificates" in %LOCALAPPDATA%\audacious\config and then update the neon_vfs_verify_environment_ssl_certs function (cert_verification.cc in neon plugin src directory) to check at the beginning if this variable is false. If it is, return fake "successful" result immediately (I guess, something like "failures & ~NE_SSL_UNTRUSTED" should suffice).
Because I am unable to set up development environment to modify and rebuild the neon plugin myself, I tested this by patching the neon.dll and I can confirm that it works perfectly.
Thanks in advance for your consideration.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions