Commit bd6eb59
szachovy
Fix password charset to be URI-safe
PR #121 strengthened the password but used string.punctuation which
includes > + [ ] @ : / and other chars that are invalid or require
percent-encoding in a MySQL URI (used in mysql-mgmt --bootstrap and
SQLAlchemy connection strings). Restrict to alphanumeric only: 24
chars of [A-Za-z0-9] gives ~143 bits of entropy which is sufficient.1 parent e594bad commit bd6eb59
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments