Martin Monperrus
1 个月前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: B5690EEEBB952194
共有
1 个文件被更改,包括
14 次插入 和
0 次删除
-
cli/lesspass/profile.py
|
|
@@ -1,4 +1,18 @@ |
|
|
|
def create_profile(args): |
|
|
|
default_profile = { |
|
|
|
"lowercase": False, |
|
|
|
"uppercase": False, |
|
|
|
"digits": False, |
|
|
|
"symbols": False, |
|
|
|
"length": 12, |
|
|
|
"counter": 0, |
|
|
|
"site": "login", |
|
|
|
"login": "", |
|
|
|
"exclude": "", |
|
|
|
} |
|
|
|
|
|
|
|
args.update(default_profile) |
|
|
|
|
|
|
|
profile = { |
|
|
|
"lowercase": False if args.nl else True, |
|
|
|
"uppercase": False if args.nu else True, |
|
|
|