Jump to content


Photo

Plugin: OscamStatus v1.3.1 SSL Fix


  • Please log in to reply
6 replies to this topic

#1 Token

  • Senior Member
  • 27 posts

+2
Neutral

Posted 3 December 2021 - 19:40

hi @all,

 

i patched the OscamStatus Plugin v1.3.1 (git Version) to eliminate errors with SSL secured Oscam!
 
File: plugin.py
 
old:
import ssl
 
new:

import ssl

try:                                    

    _create_unverified_https_context = ssl._create_unverified_context

except AttributeError:                                               

    # Legacy Python that doesn't verify HTTPS certificates by default

    pass                                                             

else:                                                                

    # Handle target environment that doesn't support HTTPS verification         

    ssl._create_default_https_context = _create_unverified_https_context

from urllib import unquote_plus                                         

from urllib2 import Request, urlopen, URLError, HTTPError

 

 

the patch itself is not from me, but from the Dev's of the Dreambox-Forum!

 

Please compare this - and integrate this in your e2Plugin-feed!

 

in the file attachment the .py and the compiled .pyo

 

Have Fun!

 

Token

 

 

 

 

Attached Files



Re: Plugin: OscamStatus v1.3.1 SSL Fix #2 Dimitrij

  • PLi® Core member
  • 10,010 posts

+338
Excellent

Posted 3 December 2021 - 20:02

https://github.com/E...amStatus/issues


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Plugin: OscamStatus v1.3.1 SSL Fix #3 Token

  • Senior Member
  • 27 posts

+2
Neutral

Posted 3 December 2021 - 20:31

@Dimitrij:

 

okay, copy2git for central bugfix!

 

Thanks for help!

 

Token



Re: Plugin: OscamStatus v1.3.1 SSL Fix #4 Pr2

  • PLi® Contributor
  • 6,074 posts

+257
Excellent

Posted 3 December 2021 - 21:11

You can propose a pull request with your change.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Plugin: OscamStatus v1.3.1 SSL Fix #5 Token

  • Senior Member
  • 27 posts

+2
Neutral

Posted 6 December 2021 - 21:59

there I am now overwhelmed! 

if one wants to check that of the PLi-Dev's, then please gladly - and if that is i.O., check in immediately!


Re: Plugin: OscamStatus v1.3.1 SSL Fix #6 Pr2

  • PLi® Contributor
  • 6,074 posts

+257
Excellent

Posted 8 December 2021 - 15:20

I have included your change:

 

https://github.com/E...mStatus/pull/21


Edited by Pr2, 8 December 2021 - 15:20.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Plugin: OscamStatus v1.3.1 SSL Fix #7 WanWizard

  • PLi® Core member
  • 68,588 posts

+1,738
Excellent

Posted 8 December 2021 - 20:13

Merged earlier today.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users