Skip to content
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

Merged
merged 10 commits into from
Sep 13, 2022

Conversation

vladmonea
Copy link
Contributor

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.

Copy link
Contributor

@grogsaxle grogsaxle left a 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]
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@vladmonea vladmonea merged commit 20e2165 into hubblestack:develop Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants