-
Notifications
You must be signed in to change notification settings - Fork 87
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
Remove PyCrypto dependencies #1145
Remove PyCrypto dependencies #1145
Conversation
…ddress linter issues
cd4fe64
to
5a3e28f
Compare
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.
LGTM. Good work.
# How often in seconds 3600 = 1 hour to set log level to log.error/critical | ||
# maybe set in /etc/hubble/hubble | ||
verif_log_dampener_lim = 3600 | ||
VERIFY_LOG_DAMPENER_LIM = [3600] |
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.
@vladmonea Why the change to an array here?
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.
the only way i found to lose the global
usage and have the value available in functions' inner scopes. i don't like it, myself, it can be changed, if needed.
PyCrypto is out-dated and unmaintained, so we're removing it from the code.
This PR also takes care of some code style and linter issues. Furthermore, some refactoring is made to make functions and variables more palatable.