diff options
author | Mike Crute <mike@crute.us> | 2017-09-30 22:18:26 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2017-09-30 23:09:18 +0000 |
commit | 6b97dd6d8a01ff56b7f70a160fbaf59ddec5c60f (patch) | |
tree | 8b563221ef8bcb1cc9f4f7c739c791dc21142ee9 /tests | |
parent | fdfb18a78e0014d362a2e0654eabf706094e4f09 (diff) | |
download | pydora-6b97dd6d8a01ff56b7f70a160fbaf59ddec5c60f.tar.bz2 pydora-6b97dd6d8a01ff56b7f70a160fbaf59ddec5c60f.tar.xz pydora-6b97dd6d8a01ff56b7f70a160fbaf59ddec5c60f.zip |
Remove PyCrypto and add Cryptography
PyCrypto is no longer supported nor recommended. Cryptography is the
replacement package which is actively maintained by the Python core
committers. Also Cryptography is bundled as binary wheels for all the
platforms we support which removes the install-tiem compiler
requirement, making it easier to distribute Pydora. This commit replaces
all usages of PyCrypto with Cryptography but is completely API
compatible with the previous version.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pandora/test_clientbuilder.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_pandora/test_clientbuilder.py b/tests/test_pandora/test_clientbuilder.py index 27117b0..5ac6e7d 100644 --- a/tests/test_pandora/test_clientbuilder.py +++ b/tests/test_pandora/test_clientbuilder.py | |||
@@ -65,8 +65,8 @@ class TestSettingsDictBuilder(TestCase): | |||
65 | @classmethod | 65 | @classmethod |
66 | def _build_minimal(self): | 66 | def _build_minimal(self): |
67 | return cb.SettingsDictBuilder({ | 67 | return cb.SettingsDictBuilder({ |
68 | "DECRYPTION_KEY": "dec", | 68 | "DECRYPTION_KEY": "blowfishkey", |
69 | "ENCRYPTION_KEY": "enc", | 69 | "ENCRYPTION_KEY": "blowfishkey", |
70 | "PARTNER_USER": "user", | 70 | "PARTNER_USER": "user", |
71 | "PARTNER_PASSWORD": "pass", | 71 | "PARTNER_PASSWORD": "pass", |
72 | "DEVICE": "dev", | 72 | "DEVICE": "dev", |
@@ -75,8 +75,8 @@ class TestSettingsDictBuilder(TestCase): | |||
75 | @classmethod | 75 | @classmethod |
76 | def _build_maximal(self): | 76 | def _build_maximal(self): |
77 | return cb.SettingsDictBuilder({ | 77 | return cb.SettingsDictBuilder({ |
78 | "DECRYPTION_KEY": "dec", | 78 | "DECRYPTION_KEY": "blowfishkey", |
79 | "ENCRYPTION_KEY": "enc", | 79 | "ENCRYPTION_KEY": "blowfishkey", |
80 | "PARTNER_USER": "user", | 80 | "PARTNER_USER": "user", |
81 | "PARTNER_PASSWORD": "pass", | 81 | "PARTNER_PASSWORD": "pass", |
82 | "DEVICE": "dev", | 82 | "DEVICE": "dev", |