You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support configurable password encryption algorithms
Added support for configurable password encryption algorithms through
dconfig settings. The system now supports multiple encryption algorithms
including SM3, yescrypt, SHA512, and SHA256. The default algorithm is
set to SM3 but can be changed via configuration.
Key changes include:
1. Added dconfig key for password encryption algorithm selection
2. Implemented algorithm lookup and fallback mechanism in C code
3. Created new function for password encryption with algorithm parameter
4. Added configuration change monitoring to update algorithm dynamically
5. Maintained backward compatibility with existing password encoding
Log: Added configurable password encryption algorithm support
Influence:
1. Test password creation with different algorithm configurations
2. Verify algorithm fallback when configured algorithm fails
3. Test configuration change detection and algorithm switching
4. Verify backward compatibility with existing passwords
5. Test all supported algorithms: SM3, yescrypt, SHA512, SHA256
6. Check system behavior when invalid algorithm is configured
feat: 支持可配置的密码加密算法
通过 dconfig 设置添加了对可配置密码加密算法的支持。系统现在支持多种加密
算法,包括 SM3、yescrypt、SHA512 和 SHA256。默认算法设置为 SM3,但可以通
过配置进行更改。
主要变更包括:
1. 添加了用于密码加密算法选择的 dconfig 键
2. 在 C 代码中实现了算法查找和回退机制
3. 创建了带算法参数的新密码加密函数
4. 添加了配置变更监控以动态更新算法
5. 保持与现有密码编码的向后兼容性
Log: 新增可配置密码加密算法支持
PMS: BUG-346165
Influence:
1. 测试使用不同算法配置的密码创建功能
2. 验证配置算法失败时的回退机制
3. 测试配置变更检测和算法切换功能
4. 验证与现有密码的向后兼容性
5. 测试所有支持的算法:SM3、yescrypt、SHA512、SHA256
6. 检查配置无效算法时的系统行为
0 commit comments