-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crypto lib changes and misc fixes #423
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c7d4c2d
Break AESCipher into smaller parts to make it easier to add other cry…
uzlonewolf 173180b
Add support for pyca/cryptography, and make it preferred
uzlonewolf 9fce764
Fix tinytuya.find_device() and decrypt_udp() for v3.1 devices
uzlonewolf 866a52c
Fix infinite loop in IRRemoteControlDevice.detect_control_type() (clo…
uzlonewolf 0eabf2d
Minor scanner docu update
uzlonewolf 5f3fe55
Add pyca/cryptography to setup.py and some minor docu updates
uzlonewolf 669a98f
Update version to 1.13.0
jasonacox 2ddb6f2
Server build version update
jasonacox b044a77
Remove Python 2.7 support #376
jasonacox 37540d4
v1.13.0
jasonacox 759aca7
Merge branch 'misc' of https://github.com/uzlonewolf/tinytuya into pr…
jasonacox 8596bc8
Change wording on crypto module not found error
uzlonewolf 286f080
Clean up crypto iv generation
uzlonewolf 159ac7a
Clean up crypto iv generation
uzlonewolf b59dc2a
Update requirements.txt to use pyca/cryptography
uzlonewolf 6194d0a
Fix crypto iv for v3.5 devices
uzlonewolf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# | ||
pycryptodome # Encryption - AES can also be provided via PyCrypto or pyaes | ||
cryptography # Encryption - AES can also be provided via PyCryptodome or pyaes or pyca/cryptography | ||
requests # Used for Setup Wizard - Tuya IoT Platform calls | ||
colorama # Makes ANSI escape character sequences work under MS Windows. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this. It has good review, works well in my tests and is often listed above pycryptodome in ratings. However, it does not support Python 2.7. I suggest we officially remove 2.7 support with this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me. My computer died last month and I installed Debian 12 on my new one, so I can't even test against Python 2.7 anymore without copying it to another machine first.