-
Notifications
You must be signed in to change notification settings - Fork 28
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
CPython/Dragino: LoRaWAN implementation croaks with PyCryptodome #108
Comments
Indeed, the Compatibility with PyCrypto page is explicit about this detail:
However, the Dragino LoRaWAN library uses the variant without explicitly telling the mode, for example within decrypt_payload() and encrypt_payload(), but also at a few more other places:
|
cf33021 temporarily reverts to the PyCrypto library. |
Hi there,
@tonke reported that the Dragino LoRaWAN implementation [1] croaks when using PyCryptodome, the successor library to PyCrypto.
Thank you!
Background: We switched to this library because it offers an almost drop-in replacement for the old PyCrypto library [2,3,4], which does not receive updates and is told to have some security flaws. See also #99 and #101.
With kind regards,
Andreas.
[1] https://github.com/daq-tools/dragino/tree/terkin/dragino/LoRaWAN
[2] https://www.dlitz.net/software/pycrypto/
[3] https://pypi.org/project/pycrypto/
[4] https://github.com/pycrypto/pycrypto
The text was updated successfully, but these errors were encountered: