v0.1.4 Safety protection and pipeline reinforcement
更新 v0.1.4
- 多账户安全间隔(防错配): 当同意电脑存在多个账户或多个管理员账户时,加入多账户安全间隔,在人脸与他人过于接近时判为"身份不明确"并拒绝登录,回退到密码登录。已验证。
- 失败锁定:连续多次刷脸失败后自动进入冷却,期间改用密码登录, 失败次数与冷却时长可在设置页调节(设0 关闭)。
- 全局语言选择器:标签栏右上角常驻 🌐 下拉,任意页面都能一眼切换中英文。
修复
- 锁屏时摄像头不可用 / 被其他程序占用,不再长时间空等,开启超时缩短,快速回退到密码登录,避免卡在"启动中"。
调整
- 命名管道安全加固:认证管道仅放行 SYSTEM / 管理员访问,并加入抢注检测,防止本地非特权程序冒充锁屏组件调用人脸认证。
- 服务日志优化:改为带时间戳 / 级别的滚动日志(
service.log,自动按大小轮转,不再无限增长)。 - 控制台界面重排:「已录入用户」列表移到「录入人脸」页(录入与管理同处);「设置与安全」页参数改为两列分组。
Update v0.1.4
-
Multi-Account Security Interval (Anti-Mismatch): When multiple accounts or multiple administrator accounts exist on the same computer, a multi-account security interval is added. If the face is too close to another person's, it is judged as "unidentified" and login is refused, reverting to password login. Verified.
-
Failure Lockout: After multiple consecutive failed face scans, it automatically enters a cooldown period, during which password login is used. The number of failures and the cooldown duration can be adjusted in the settings page (set to 0 to disable).
-
Global Language Selector: A permanent 🌐 dropdown icon is displayed in the upper right corner of the tab bar, allowing for easy switching between Chinese and English on any page.
Fixes
- Camera unavailable/occupied by other programs when the screen is locked, no longer waiting for a long time—enabling timeout shortening quickly reverts to password login, avoiding getting stuck on "starting up".
Adjustments
-
Named Pipe Security Hardening: The authentication pipe now only allows SYSTEM/administrator access, and adds a preemptive registration detection feature to prevent local non-privileged programs from impersonating the lock screen component to call face authentication.
-
Service Log Optimization: Changed to a rolling log with timestamps/levels (
service.log, automatically rotating by size, no longer growing indefinitely). -
Console Interface Rearrangement: The "Registered Users" list has been moved to the "Register Face" page (registration and management are in the same location); the parameters on the "Settings and Security" page are now grouped into two columns.
Full Changelog: v0.1.3...v0.1.4