Bug 22234 - [Anolis 23.3][RC1][loongarch64]dde桌面环境中,在用户设置功能模块中新增用户,输入强密码,界面仍提示“请输入强密码”
Summary: [Anolis 23.3][RC1][loongarch64]dde桌面环境中,在用户设置功能模块中新增用户,输入强密码,界面仍提示“请输入强密码”
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Desktop (show other bugs) Desktop
Version: 23.3
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-30 15:24 UTC by liqianwen
Modified: 2025-07-01 14:54 UTC (History)
1 user (show)

See Also:


Attachments
强密码错误 (517.08 KB, image/png)
2025-06-30 15:24 UTC, liqianwen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liqianwen loongson_group 2025-06-30 15:24:26 UTC
Created attachment 1355 [details]
强密码错误

【问题描述】
在用户设置功能模块中新增用户,输入复杂度高的密码,界面仍提示“请输入强密码”

【内核版本】
6.6.88-4_rc1.an23.loongarch64

【iso下载】
http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20250605.1/compose/os/loongarch64/iso/anolis-23-loongarch64-dvd1-20250605.1.iso

【复现步骤】
1、安装DDE桌面环境
2、在设置-用户设置中,新增用户
3、输入高复杂度密码,比如:Loongson@123!@#

【实际结果】
界面扔提示“请输入强密码”

【期望结果】
输入强密码后,界面无“请输入强密码”的提示,并能正常创建新用户
Comment 1 花豆豆雪 loongson_group 2025-07-01 14:54:28 UTC
经过分析和验证发现该问题不是一个bug,是anolis强密码逻辑导致的测试问题
(强密码至少有3种类型,包含数字,字母和特殊字符组成,且最少为8个字符)

举例:
1. 输入密码xxx#$%047即不会出现打印信息“create a strong password please”

2. 输入密码xxx#$%123则会出现打印信息“create a strong password please”,而出现的原因是因为密码中出现了123这个连续数字,而anolis的强密码逻辑认为出现连续123这样的数字的密码不算强密码,因此报错