Skip to content

fix: use secrets to generate random string#1061

Merged
nijel merged 1 commit intopython-social-auth:masterfrom
nijel:secrets
Mar 24, 2025
Merged

fix: use secrets to generate random string#1061
nijel merged 1 commit intopython-social-auth:masterfrom
nijel:secrets

Conversation

@nijel
Copy link
Member

@nijel nijel commented Mar 24, 2025

Proposed changes

The random module is not suitable for use in security scopes.

Checklist

Put an x in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.

Other information

Any other information that is important to this PR such as screenshots of how
the component looks before and after the change.

The random module is not suitable for use in security scopes.
@nijel nijel self-assigned this Mar 24, 2025
@nijel nijel enabled auto-merge (rebase) March 24, 2025 13:20
@nijel nijel merged commit 0345323 into python-social-auth:master Mar 24, 2025
10 checks passed
@nijel nijel deleted the secrets branch March 24, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant