Skip to content
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

feature: 页面操作密码重置,rsa加密 #818

Merged
merged 6 commits into from
Dec 7, 2022

Conversation

neronkl
Copy link
Contributor

@neronkl neronkl commented Nov 29, 2022

  1. SettingMeta 新增rsa元数据
  2. 通过命令Django Command 针对某个目录进行启用rsa加密,并且秘钥对具有差异化(支持随机生成秘钥对,本地pem文件导入)

@neronkl
Copy link
Contributor Author

neronkl commented Nov 29, 2022

@Canway-shiisa

@neronkl neronkl force-pushed the update_pwd_rsa_nero branch from c9f333c to 526b74c Compare November 30, 2022 11:34
@neronkl neronkl force-pushed the update_pwd_rsa_nero branch from 526b74c to bb338be Compare November 30, 2022 15:18
src/api/pyproject.toml Outdated Show resolved Hide resolved
src/api/bkuser_core/api/web/password/urls.py Outdated Show resolved Hide resolved
src/api/bkuser_core/api/web/password/serializers.py Outdated Show resolved Hide resolved
src/api/bkuser_core/api/web/utils.py Show resolved Hide resolved
src/api/bkuser_core/api/web/utils.py Outdated Show resolved Hide resolved
src/api/bkuser_core/api/web/utils.py Outdated Show resolved Hide resolved
src/api/bkuser_core/api/web/password/views.py Outdated Show resolved Hide resolved
src/api/bkuser_core/api/web/password/views.py Outdated Show resolved Hide resolved
src/api/bkuser_core/api/web/utils.py Outdated Show resolved Hide resolved
1.pwd展开;
2.settings namespace=password 返回rsa设置时password缀名排除;
3.decrypt_rsa_password => get_raw_password
4.获取token_handler 抽取去功能逻辑
@neronkl neronkl requested review from Canway-shiisa, nannan00 and wklken and removed request for Canway-shiisa, nannan00 and wklken December 6, 2022 03:25
@neronkl neronkl removed the request for review from Canway-shiisa December 7, 2022 05:04
@neronkl neronkl requested review from nannan00, Canway-shiisa and wklken and removed request for nannan00, Canway-shiisa and wklken December 7, 2022 05:04
@wklken wklken merged commit bcb724b into TencentBlueKing:pre_2.5.2 Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants