diff options
author | Ákos Sülyi <sulyi.gbox@gmail.com> | 2021-09-19 14:22:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-19 17:52:31 +0530 |
commit | 09906f554d485a30b21e56c485718ea9c55db452 (patch) | |
tree | f61578fc7cfc1749b567b2fd12c35cd0f3604d67 /test/test_cookies.py | |
parent | a63d9bd0b00c2c6b8d5f1a90fd783780ceda4023 (diff) | |
download | hypervideo-pre-09906f554d485a30b21e56c485718ea9c55db452.tar.lz hypervideo-pre-09906f554d485a30b21e56c485718ea9c55db452.tar.xz hypervideo-pre-09906f554d485a30b21e56c485718ea9c55db452.zip |
[aes] Add `aes_gcm_decrypt_and_verify` (#1020)
Authored by: sulyi, pukkandan
Diffstat (limited to 'test/test_cookies.py')
-rw-r--r-- | test/test_cookies.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test_cookies.py b/test/test_cookies.py index 6053ebb4e..15afb6627 100644 --- a/test/test_cookies.py +++ b/test/test_cookies.py @@ -2,7 +2,6 @@ import unittest from datetime import datetime, timezone from yt_dlp import cookies -from yt_dlp.compat import compat_pycrypto_AES from yt_dlp.cookies import ( LinuxChromeCookieDecryptor, MacChromeCookieDecryptor, @@ -53,7 +52,6 @@ class TestCookies(unittest.TestCase): decryptor = LinuxChromeCookieDecryptor('Chrome', YDLLogger()) self.assertEqual(decryptor.decrypt(encrypted_value), value) - @unittest.skipIf(not compat_pycrypto_AES, 'cryptography library not available') def test_chrome_cookie_decryptor_windows_v10(self): with MonkeyPatch(cookies, { '_get_windows_v10_key': lambda *args, **kwargs: b'Y\xef\xad\xad\xeerp\xf0Y\xe6\x9b\x12\xc2<z\x16]\n\xbb\xb8\xcb\xd7\x9bA\xc3\x14e\x99{\xd6\xf4&' |