-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix minor documentation example #2624
Conversation
/lgtm |
@pieterlange thanks! |
os.urandom sometimes returns more bytes and its generally encouraged to use python3's `secrets` module. Also double64 encode to prevent messing up the environment variables with binary data
Still had a minor bug when actually running it. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, pieterlange The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
@@ Coverage Diff @@
## master #2624 +/- ##
=======================================
Coverage 40.88% 40.88%
=======================================
Files 75 75
Lines 5129 5129
=======================================
Hits 2097 2097
Misses 2753 2753
Partials 279 279 Continue to review full report at Codecov.
|
os.urandom
sometimes returns more bytes and its generally encouraged to use python3'ssecrets
module for this kind of thing nowadays.