Fix deprecation warning for Cryptography 44.0.0 or newer#87
Conversation
Starting with cryptography-44.0.0 the ARC4 cipher was relocated to a module for deprecated ciphers. It needs to be imported from there now.
|
Thanks for the PR, I probably would prefer to keep the older import as a fallback in case someone still running with an older cryptography version.
Edit: I misread the changelog, it’ll still be there, the old import will be removed in the future. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #87 +/- ##
==========================================
- Coverage 99.96% 99.92% -0.04%
==========================================
Files 30 30
Lines 5361 5365 +4
==========================================
+ Hits 5359 5361 +2
- Misses 2 4 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Thanks for fixing this up, I pushed a small commit that cleaned up some metadata and added the old import back in as a fallback. |
Starting with cryptography-44.0.0 the ARC4 cipher was relocated to a module for deprecated ciphers. It needs to be imported from there now.