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

feat: update key generation function #1151

Merged
merged 5 commits into from
Jan 5, 2024

Conversation

jxdv
Copy link
Contributor

@jxdv jxdv commented Dec 26, 2023

secrets module has been introduced in Python 3.6, and its functions are inteded for cryptographic purposes, such as generating a random string securely as we do here.
Also using _ as an empty placeholder since we don't do anything with the chars.

Deathpoolxrs and others added 4 commits December 21, 2023 02:10
…rror-fixed-amass

Fixed (subdomain_discovery | ERROR | local variable 'use_amass_config' referenced before assignment)
@AnonymousWP AnonymousWP changed the title update key generation function feat: update key generation function Dec 28, 2023
@AnonymousWP AnonymousWP added enhancement New feature or request Security Security related issues release/2.1.0 labels Dec 28, 2023
@jxdv
Copy link
Contributor Author

jxdv commented Dec 29, 2023

I've also updated the function to generate key of 64 bytes instead of 50, IMO it makes more sense.

@psyray
Copy link
Contributor

psyray commented Jan 5, 2024

Hi @jxdv
Thanks for your PR.
All has been tested ?
No problem ?

@jxdv
Copy link
Contributor Author

jxdv commented Jan 5, 2024

Hi @jxdv Thanks for your PR. All has been tested ? No problem ?

Yes, no issues.

@AnonymousWP AnonymousWP changed the base branch from master to release/2.1.0 January 5, 2024 18:44
@AnonymousWP AnonymousWP merged commit 69f5be2 into yogeshojha:release/2.1.0 Jan 5, 2024
4 of 5 checks passed
@jxdv jxdv deleted the rnd-key branch January 6, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request release/2.1.0 Security Security related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants