Blob Blame History Raw
diff -up ./src/streamlink/plugins/abematv.py.orig ./src/streamlink/plugins/abematv.py
--- ./src/streamlink/plugins/abematv.py.orig	2020-09-23 01:31:24.000000000 +0200
+++ ./src/streamlink/plugins/abematv.py	2020-09-24 20:01:40.760143637 +0200
@@ -9,7 +9,7 @@ import uuid
 from base64 import urlsafe_b64encode
 from binascii import unhexlify
 
-from Crypto.Cipher import AES
+from Cryptodome.Cipher import AES
 
 from requests import Response
 from requests.adapters import BaseAdapter
diff -up ./src/streamlink/plugins/rtve.py.orig ./src/streamlink/plugins/rtve.py
--- ./src/streamlink/plugins/rtve.py.orig	2020-09-23 01:31:24.000000000 +0200
+++ ./src/streamlink/plugins/rtve.py	2020-09-24 20:01:40.756143734 +0200
@@ -3,7 +3,7 @@ import logging
 import re
 from functools import partial
 
-from Crypto.Cipher import Blowfish
+from Cryptodome.Cipher import Blowfish
 
 from streamlink.compat import bytes, is_py3
 from streamlink.plugin import Plugin, PluginArguments, PluginArgument
diff -up ./src/streamlink/plugins/steam.py.orig ./src/streamlink/plugins/steam.py
--- ./src/streamlink/plugins/steam.py.orig	2020-09-23 01:31:24.000000000 +0200
+++ ./src/streamlink/plugins/steam.py	2020-09-24 20:01:40.755143759 +0200
@@ -3,8 +3,8 @@ import logging
 import re
 import time
 
-from Crypto.Cipher import PKCS1_v1_5
-from Crypto.PublicKey import RSA
+from Cryptodome.Cipher import PKCS1_v1_5
+from Cryptodome.PublicKey import RSA
 
 import streamlink
 from streamlink.exceptions import FatalPluginError
diff -up ./src/streamlink/plugins/streann.py.orig ./src/streamlink/plugins/streann.py
diff -up ./src/streamlink/plugins/ustvnow.py.orig ./src/streamlink/plugins/ustvnow.py
--- ./src/streamlink/plugins/ustvnow.py.orig	2020-09-23 01:31:24.000000000 +0200
+++ ./src/streamlink/plugins/ustvnow.py	2020-09-24 20:06:15.006441450 +0200
@@ -7,9 +7,9 @@ import logging
 import re
 from uuid import uuid4
 
-from Crypto.Cipher import AES
-from Crypto.Hash import SHA256
-from Crypto.Util.Padding import pad, unpad
+from Cryptodome.Cipher import AES
+from Cryptodome.Hash import SHA256
+from Cryptodome.Util.Padding import pad, unpad
 
 from streamlink import PluginError
 from streamlink.compat import urljoin, urlparse
diff -up ./src/streamlink/plugins/webtv.py.orig ./src/streamlink/plugins/webtv.py
--- ./src/streamlink/plugins/webtv.py.orig	2020-09-23 01:31:24.000000000 +0200
+++ ./src/streamlink/plugins/webtv.py	2020-09-24 20:01:40.753143808 +0200
@@ -3,7 +3,7 @@ import base64
 
 import binascii
 
-from Crypto.Cipher import AES
+from Cryptodome.Cipher import AES
 
 from streamlink.plugin import Plugin
 from streamlink.plugin.api import validate
diff -up ./src/streamlink/stream/hls.py.orig ./src/streamlink/stream/hls.py
--- ./src/streamlink/stream/hls.py.orig	2020-09-23 01:31:24.000000000 +0200
+++ ./src/streamlink/stream/hls.py	2020-09-24 20:01:40.762143588 +0200
@@ -3,7 +3,7 @@ import re
 import struct
 
 from collections import defaultdict, namedtuple
-from Crypto.Cipher import AES
+from Cryptodome.Cipher import AES
 from requests.exceptions import ChunkedEncodingError
 
 from streamlink.compat import urlparse, str
diff -up ./src/streamlink/utils/crypto.py.orig ./src/streamlink/utils/crypto.py
--- ./src/streamlink/utils/crypto.py.orig	2020-09-23 01:31:24.000000000 +0200
+++ ./src/streamlink/utils/crypto.py	2020-09-24 20:01:40.751143857 +0200
@@ -1,7 +1,7 @@
 from __future__ import absolute_import
 import hashlib
 
-from Crypto.Cipher import AES
+from Cryptodome.Cipher import AES
 
 from streamlink.compat import is_py3
 
diff -up ./tests/streams/test_hls.py.orig ./tests/streams/test_hls.py
--- ./tests/streams/test_hls.py.orig	2020-09-23 01:31:24.000000000 +0200
+++ ./tests/streams/test_hls.py	2020-09-24 20:01:40.749143906 +0200
@@ -7,7 +7,7 @@ from functools import partial
 
 import pytest
 import requests_mock
-from Crypto.Cipher import AES
+from Cryptodome.Cipher import AES
 from mock import patch, Mock
 
 from streamlink.session import Streamlink