Conversation
|
Doesn't seem to work on 3.9. |
|
Can you check that # check_imports.py
from simplecrypt import encrypt, decrypt
password = 'pass'
ciphertext = encrypt(password, 'my secret message')
plaintext = decrypt(password, ciphertext)
print(ciphertext, plaintext) |
|
@KyleKing I'm dumb. Had the extra stuff installed. Thanks. Good stuff. |
|
@andrewcooke can you please take a look and consider merging this change? I need to use |
|
This PR is still ready for review/merge/release if there is any interest! |
|
Still ready for review! |
|
Fork! |
|
@andrewcooke would you be interested in merging this PR? I figured it would be worth trying to reach out again to merge my fork back into the upstream I had recently merged my fork of textract with upstream (https://github.com/KyleKing/textract-py3) and am now regular contributing to the project maintenance and would be happy to help in the same way here |
This PR replaces the
pyCryptodependency with the actively maintained (and backward compatible)pyCryptoDome. See discussion on EOL for PyCryptoAll tests pass; however, I had to skip a test that called a feature of
pyCrypto(ctr()) that was changed inpyCryptoDome. If this PR will be merged, I can spend some time to figure out how to re-implement that test❯ nosetests -x ..................... ---------------------------------------------------------------------- Ran 21 tests in 437.129s OKUpdate: I'll keep my fork live and will accept PRs. You can install the package from my fork with:
I've been using the fork for almost a year in Python 3.9 and 3.6 with backward compatibility with the official
simple-crypt4.1.7 in a Python 2.7 project without issue. Hopefully, these changes can be merged and released so others can benefit!