fnp
/
cas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upgrades
[cas.git]
/
src
/
ftp
/
utils.py
1
import secrets
2
import string
3
4
def generate_password(length=10):
5
chars = string.ascii_letters + string.digits + string.punctuation
6
return ''.join(secrets.choice(chars) for i in range(length))