TLS v1 = TLS v1.0?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
HomerJay
Newbie
Newbie
Posts: 8
Joined: May 20th, 2017, 12:52 pm

TLS v1 = TLS v1.0?

Post by HomerJay »

Hello there,

first of all let me say I am really happy about the ability to check the current connection's encryption type used. Very useful feature!

However, there is one thing I don't understand: when it says TLS v1, does v1 equal 1.0, or does this include the .1 or .2? I know for a fact that my newsserver supports TLS v1.2, so why would it always use 1.0 when 1.2 is support? But maybe there's something to this I don't quite understand yet :)

Thanks!
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: TLS v1 = TLS v1.0?

Post by sander »

It's tls 1.0

Which newsserver?
Which OS is Sabnzbd running on?
HomerJay
Newbie
Newbie
Posts: 8
Joined: May 20th, 2017, 12:52 pm

Re: TLS v1 = TLS v1.0?

Post by HomerJay »

Thanks so far!

It's running on macOS 10.12.5

Is this possible due to an old openssl library on my Mac that doesn't support tls 1.2?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: TLS v1 = TLS v1.0?

Post by safihre »

On the first page of the Config it should show you the supported versions of your OpenSSL version!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
HomerJay
Newbie
Newbie
Posts: 8
Joined: May 20th, 2017, 12:52 pm

Re: TLS v1 = TLS v1.0?

Post by HomerJay »

You know what? I never noticed that line on that page :D

Ok, so there it shows OpenSSL 0.9.8zh 14 Jan 2016 [TLS v1, SSL v3, SSL v2] BUT I just updatet my OpenSSL library to the most current version, but sabnzbd takes no notice of that, so it seems.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: TLS v1 = TLS v1.0?

Post by safihre »

No indeed it doesn't. It's because python in the end is still C code that calls the specific OpenSSL functions to handle the connections. Because these functions change between OpenSSL versions, python releases are linked to a specific version of OpenSSL.
This is specific to the windows and Mac versions of python.
I tried building it with the latest OpenSSL, but then the connections fail.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
HomerJay
Newbie
Newbie
Posts: 8
Joined: May 20th, 2017, 12:52 pm

Re: TLS v1 = TLS v1.0?

Post by HomerJay »

I made a little mistake there: I didn't install the latest openssl, just the latest that comes with homebrew, which is 1.0.2k. The latest would be 1.1.0 something.

So how long am I stuck whith the 0.9.8 library?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: TLS v1 = TLS v1.0?

Post by safihre »

Until Python updates it.
But, don't just look at the version number. This is all because Apple has some special ideas about OpenSSL and thus they keep it at 0.9.8.
Maybe for Python 2.7.14 we can change the OpenSSL version again.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: TLS v1 = TLS v1.0?

Post by safihre »

So I experimented to use the homebrew python and openssl, and it worked.
Now it has TLSv1 to TLSv1.2.

Could you test this?
https://github.com/sabnzbd/sabbuild/rel ... ebrew-test
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
HomerJay
Newbie
Newbie
Posts: 8
Joined: May 20th, 2017, 12:52 pm

Re: TLS v1 = TLS v1.0?

Post by HomerJay »

Sorry for the late reply. I haven't had a chance to test this, but I will very soon! Thanks for your effort!! I'll report back.

Look's like I waited too long: link isn't working anymore.
HomerJay
Newbie
Newbie
Posts: 8
Joined: May 20th, 2017, 12:52 pm

Re: TLS v1 = TLS v1.0?

Post by HomerJay »

Ok, what I could test though was the 2.1.0Beta1, sadly with the same result. Am I supposed to uninstall the old version first?

Anything else I need to change, although it says "bundled ssl" in the ReadMe?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: TLS v1 = TLS v1.0?

Post by safihre »

It turns out that the release I created with newer OpenSSL did not function on most systems and caused sabnzbd to not work at all for them. So I reverted the change back in 2.1.0Beta1.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
HomerJay
Newbie
Newbie
Posts: 8
Joined: May 20th, 2017, 12:52 pm

Re: TLS v1 = TLS v1.0?

Post by HomerJay »

The change was still listed in the ReadMe when I downloaded it, therefore the confusion.

If you like me to test something on a Mac, just let me know!
Post Reply