Closed Pragathi633 closed 1 year ago
builtins.TypeError: deprecated() got an unexpected keyword argument 'name' Failed to load application: deprecated() got an unexpected keyword argument 'name'
I think it must be something has updated (OpenSSL maybe?) that no longer works with with the version of cryptography we are using.
I tried updating the pinned version of cryptography in setup.py
to the latest version 38.0.1
and then did docker build -f Dockerfile.latest -t opencanary:master --no-cache .
and it worked.
I haven't tested to make sure that updating cryptography doesn't break something else, but I'm working on a branch to add HTTPS so I'll do it in that branch and then create a PR
hey @HybridAU thank you for checking. do you have an ETA on when this will be resolved. thank you
No ETA sorry, I will try to look at it this weekend, maybe next weekend depending on when I can find some time, and then I'll create a PR and that will need to be reviewed / approved.
no idea if this is relevant but maybe worth mentioning that with macOS/homebrew it is necessary to pin the OpenSSL version to 1.1 in order to build opencanary
. i actually opened a pull request with some opencanary build scripts quite recently; you can see the version pinning in the build_opencanary.sh
script.
we keep getting this error from today when we tried to build opencanary using docker image from OpenSSL.SSL import Error, ZeroReturnError, WantReadError from twisted.internet import error, udp, tcp